(function(){function G(x,s){return function(){return x.apply(s,arguments)}}var Ve,Ut,j,Qt,Rt,ke,Re,he,We,or,ot,ve,Qe,Ot,lt,_t,kt,bt,se,I,Oe,ut,Nt,De,vt,rt,pe,xe,yt,Ht,it,ct,St,nt,Je,sr,ue,v,p,d,w,C,B,$,U,te,Q=[].slice,ye={}.hasOwnProperty,ce=function(x,s){for(var h in s)ye.call(s,h)&&(x[h]=s[h]);function F(){this.constructor=x}return F.prototype=s.prototype,x.prototype=new F,x.__super__=s.prototype,x},we=[].indexOf||function(x){for(var s=0,h=this.length;s\n
\n\n
',null!=x.firstChild?x.insertBefore(this.el,x.firstChild):x.appendChild(this.el)}return this.el},Fe.prototype.finish=function(){var x=this.getElement();return x.className=x.className.replace("pace-active","pace-inactive"),document.body.className=document.body.className.replace("pace-running ","pace-done ")},Fe.prototype.update=function(x){return this.progress=x,ke.trigger("progress",x),this.render()},Fe.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(x){Rt=x}return this.el=void 0},Fe.prototype.render=function(){var x,h,F,O,le,ge;if(null==document.querySelector(pe.target))return!1;for(x=this.getElement(),F="translate3d("+this.progress+"%, 0, 0)",O=0,le=(ge=["webkitTransform","msTransform","transform"]).length;Ope.eventLag.sampleCount&&O.shift(),x=Ot(O),++F>=pe.eventLag.minSamples&&xthis.progress&&(this.progress+=this.catchup*x),s=1-Math.pow(this.progress/100,pe.easeFactor),this.progress+=s*this.rate*x,this.progress=Math.min(this.lastProgress+pe.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},We=o,_t=Qe=sr=lt=it=Je=null,ke.running=!1,Nt=function(){if(pe.restartOnPushState)return ke.restart()},null!=window.history.pushState&&(B=window.history.pushState,window.history.pushState=function(){return Nt(),B.apply(window.history,arguments)}),null!=window.history.replaceState&&(U=window.history.replaceState,window.history.replaceState=function(){return Nt(),U.apply(window.history,arguments)}),he={ajax:Ve,elements:Oe,document:te,eventLag:ce},(vt=function(){var x,s,h,F,O,le,ge,ne;for(ke.sources=Je=[],s=0,F=(le=["ajax","elements","document","eventLag"]).length;s=0;--Se){var ae=this.tryEntries[Se],Pe=ae.completion;if("root"===ae.tryLoc)return re("end");if(ae.tryLoc<=this.prev){var tt=g.call(ae,"catchLoc"),wt=g.call(ae,"finallyLoc");if(tt&&wt){if(this.prev=0;--re){var Se=this.tryEntries[re];if(Se.tryLoc<=this.prev&&g.call(Se,"finallyLoc")&&this.prev=0;--D){var re=this.tryEntries[D];if(re.finallyLoc===X)return this.complete(re.completion,re.afterLoc),zt(re),R}},catch:function(X){for(var D=this.tryEntries.length-1;D>=0;--D){var re=this.tryEntries[D];if(re.tryLoc===X){var Se=re.completion;if("throw"===Se.type){var ae=Se.arg;zt(re)}return ae}}throw new Error("illegal catch attempt")},delegateYield:function(X,D,re){return this.delegate={iterator:je(X),resultName:D,nextLoc:re},"next"===this.method&&(this.arg=void 0),R}},y}function Ve(y){return(Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(y)}function Ut(y,u,g,k,T,_,E){try{var H=y[_](E),V=H.value}catch(ie){return void g(ie)}H.done?u(V):Promise.resolve(V).then(k,T)}function j(y){return function(){var u=this,g=arguments;return new Promise(function(k,T){var _=y.apply(u,g);function E(V){Ut(_,k,T,E,H,"next",V)}function H(V){Ut(_,k,T,E,H,"throw",V)}E(void 0)})}}function Qt(y,u){if(!(y instanceof u))throw new TypeError("Cannot call a class as a function")}function Rt(y,u){for(var g=0;gy.length)&&(u=y.length);for(var g=0,k=new Array(u);g=y.length?{done:!0}:{done:!1,value:y[k++]}},e:function(V){throw V},f:T}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var _,E=!0,H=!1;return{s:function(){g=g.call(y)},n:function(){var V=g.next();return E=V.done,V},e:function(V){H=!0,_=V},f:function(){try{E||null==g.return||g.return()}finally{if(H)throw _}}}}function ve(y){var u=function(g,k){if("object"!=typeof g||null===g)return g;var T=g[Symbol.toPrimitive];if(void 0!==T){var _=T.call(g,"string");if("object"!=typeof _)return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(g)}(y);return"symbol"==typeof u?u:String(u)}function Qe(y,u,g){var k,T=(Re(k={},y,u),Re(k,"path","/"),Re(k,"expires",void 0),k);if(g){var _=new Date;_.setTime(_.getTime()+24*g*60*60*1e3),T.expires=_.toUTCString()}var E=[];for(var H in T)E.push("".concat(H,"=").concat(T[H]));return document.cookie=E.join("; "),Ot(y)}function Ot(y){return(u={},document.cookie.split(";").forEach(function(g){var k=he(g.split("="),2),_=k[1];u[k[0].trim()]=_}),u)[y];var u}var kt,bt=(kt={},function(y){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"introjs-stamp";return kt[u]=kt[u]||0,void 0===y[u]&&(y[u]=kt[u]++),y[u]}),se=new(function(){function y(){Qt(this,y),Re(this,"events_key","introjs_event")}return ke(y,[{key:"_id",value:function(u,g,k){return u+bt(g)+(k?"_".concat(bt(k)):"")}},{key:"on",value:function(u,g,k,T,_){var E=this._id(g,k,T),H=function(V){return k(T||u,V||window.event)};"addEventListener"in u?u.addEventListener(g,H,_):"attachEvent"in u&&u.attachEvent("on".concat(g),H),u[this.events_key]=u[this.events_key]||{},u[this.events_key][E]=H}},{key:"off",value:function(u,g,k,T,_){var E=this._id(g,k,T),H=u[this.events_key]&&u[this.events_key][E];H&&("removeEventListener"in u?u.removeEventListener(g,H,_):"detachEvent"in u&&u.detachEvent("on".concat(g),H),u[this.events_key][E]=null)}}]),y}()),I=function(y){return"function"==typeof y};function Oe(y,u){if(y instanceof SVGElement){var g=y.getAttribute("class")||"";g.match(u)||y.setAttribute("class","".concat(g," ").concat(u))}else if(void 0!==y.classList){var k,T=ot(u.split(" "));try{for(T.s();!(k=T.n()).done;)y.classList.add(k.value)}catch(E){T.e(E)}finally{T.f()}}else y.className.match(u)||(y.className+=" ".concat(u))}function ut(y,u){var g="";return"currentStyle"in y?g=y.currentStyle[u]:document.defaultView&&document.defaultView.getComputedStyle&&(g=document.defaultView.getComputedStyle(y,null).getPropertyValue(u)),g&&g.toLowerCase?g.toLowerCase():g}function Nt(y){Oe(y,"introjs-showElement");var u=ut(y,"position");"absolute"!==u&&"relative"!==u&&"sticky"!==u&&"fixed"!==u&&Oe(y,"introjs-relativePosition")}function De(y,u){if(y){var g=function(k){var T=window.getComputedStyle(k),_="absolute"===T.position,E=/(auto|scroll)/;if("fixed"===T.position)return document.body;for(var H=k;H=H.parentElement;)if(T=window.getComputedStyle(H),(!_||"static"!==T.position)&&E.test(T.overflow+T.overflowY+T.overflowX))return H;return document.body}(u);g!==document.body&&(g.scrollTop=u.offsetTop-g.offsetTop)}}function vt(){if(void 0!==window.innerWidth)return{width:window.innerWidth,height:window.innerHeight};var y=document.documentElement;return{width:y.clientWidth,height:y.clientHeight}}function rt(y,u,g,k,T){var _,V;if("off"!==u&&y&&(_="tooltip"===u?T.getBoundingClientRect():k.getBoundingClientRect(),!((V=k.getBoundingClientRect()).top>=0&&V.left>=0&&V.bottom+80<=window.innerHeight&&V.right<=window.innerWidth))){var E=vt().height;_.bottom-(_.bottom-_.top)<0||k.clientHeight>E?window.scrollBy(0,_.top-(E/2-_.height/2)-g):window.scrollBy(0,_.top-(E/2-_.height/2)+g)}}function pe(y){y.setAttribute("role","button"),y.tabIndex=0}function xe(y){var u=y.parentElement;return!(!u||"HTML"===u.nodeName)&&("fixed"===ut(y,"position")||xe(u))}function yt(y,u){var g=document.body,k=document.documentElement,T=window.pageYOffset||k.scrollTop||g.scrollTop,_=window.pageXOffset||k.scrollLeft||g.scrollLeft;u=u||g;var E=y.getBoundingClientRect(),H=u.getBoundingClientRect(),V=ut(u,"position"),ie={width:E.width,height:E.height};return"body"!==u.tagName.toLowerCase()&&"relative"===V||"sticky"===V?Object.assign(ie,{top:E.top-H.top,left:E.left-H.left}):xe(y)?Object.assign(ie,{top:E.top,left:E.left}):Object.assign(ie,{top:E.top+T,left:E.left+_})}function Ht(y,u){if(y instanceof SVGElement){var g=y.getAttribute("class")||"";y.setAttribute("class",g.replace(u,"").replace(/^\s+|\s+$/g,""))}else y.className=y.className.replace(u,"").replace(/^\s+|\s+$/g,"")}function it(y,u){var g="";if(y.style.cssText&&(g+=y.style.cssText),"string"==typeof u)g+=u;else for(var k in u)g+="".concat(k,":").concat(u[k],";");y.style.cssText=g}function ct(y,u,g){if(g&&u){var k=yt(u.element,y._targetElement),T=y._options.helperElementPadding;u.element instanceof Element&&xe(u.element)?Oe(g,"introjs-fixedTooltip"):Ht(g,"introjs-fixedTooltip"),"floating"===u.position&&(T=0),it(g,{width:"".concat(k.width+T,"px"),height:"".concat(k.height+T,"px"),top:"".concat(k.top-T/2,"px"),left:"".concat(k.left-T/2,"px")})}}function St(y,u,g,k,T){return y.left+u+g.width>k.width?(T.style.left="".concat(k.width-g.width-y.left,"px"),!1):(T.style.left="".concat(u,"px"),!0)}function nt(y,u,g,k){return y.left+y.width-u-g.width<0?(k.style.left="".concat(-y.left,"px"),!1):(k.style.right="".concat(u,"px"),!0)}function Je(y,u){y.includes(u)&&y.splice(y.indexOf(u),1)}function ue(y,u,g,k){var T=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(u){var _,E,H,V;g.style.top="",g.style.right="",g.style.bottom="",g.style.left="",g.style.marginLeft="",g.style.marginTop="",k.style.display="inherit",g.className=["introjs-tooltip","string"==typeof u.tooltipClass?u.tooltipClass:y._options.tooltipClass].filter(Boolean).join(" "),g.setAttribute("role","dialog"),"floating"!==(V=u.position)&&y._options.autoPosition&&(V=function sr(y,u,g,k){var Y,J,me,Ie,Le,T=y.slice(),_=vt(),E=yt(g).height+10,H=yt(g).width+20,V=u.getBoundingClientRect(),ie="floating";if(V.bottom+E>_.height&&Je(T,"bottom"),V.top-E<0&&Je(T,"top"),V.right+H>_.width&&Je(T,"right"),V.left-H<0&&Je(T,"left"),k&&(k=k.split("-")[0]),T.length&&(ie=T[0],T.includes(k)&&(ie=k)),"top"===ie||"bottom"===ie){var fe,R=[];"top"===ie?(fe="top-middle-aligned",R=["top-left-aligned","top-middle-aligned","top-right-aligned"]):(fe="bottom-middle-aligned",R=["bottom-left-aligned","bottom-middle-aligned","bottom-right-aligned"]),Y=V.left,me=R,Ie=(J=H)/2,(Le=Math.min(_.width,window.screen.width))-YH.height?(k.className="introjs-arrow left-bottom",g.style.top="-".concat(_.height-E.height-20,"px")):k.className="introjs-arrow left";break;case"left":T||!0!==y._options.showStepNumbers||(g.style.top="15px"),E.top+_.height>H.height?(g.style.top="-".concat(_.height-E.height-20,"px"),k.className="introjs-arrow right-bottom"):k.className="introjs-arrow right",g.style.right="".concat(E.width+20,"px");break;case"floating":k.style.display="none",g.style.left="50%",g.style.top="50%",g.style.marginLeft="-".concat(_.width/2,"px"),g.style.marginTop="-".concat(_.height/2,"px");break;case"bottom-right-aligned":k.className="introjs-arrow top-right",nt(E,R=0,_,g),g.style.top="".concat(E.height+20,"px");break;case"bottom-middle-aligned":k.className="introjs-arrow top-middle",T&&(fe+=5),nt(E,fe,_,g)&&(g.style.right="",St(E,fe,_,H,g)),g.style.top="".concat(E.height+20,"px");break;default:k.className="introjs-arrow top",St(E,0,_,H,g),g.style.top="".concat(E.height+20,"px")}}}function v(){for(var y=0,u=Array.from(document.querySelectorAll(".introjs-showElement"));y2&&void 0!==arguments[2]&&arguments[2]){var k=u.style.opacity||"1";it(u,{opacity:"0"}),window.setTimeout(function(){it(u,{opacity:k})},10)}y.appendChild(u)}function w(y,u){return(y+1)/u*100}function C(y,u){var g=document.querySelector(".introjs-disableInteraction");null===g&&(g=p("div",{className:"introjs-disableInteraction"}),y._targetElement.appendChild(g)),ct(y,u,g)}function B(y,u){var g=p("div",{className:"introjs-bullets"});!1===y._options.showBullets&&(g.style.display="none");var k=p("ul");k.setAttribute("role","tablist");for(var T=function(){var ie=this.getAttribute("data-step-number");null!=ie&&y.goToStep(parseInt(ie,10))},_=0;_ a.active"),T=u.querySelector('.introjs-bullets li > a[data-step-number="'.concat(g.step,'"]'));k&&T&&(k.className="",T.className="active")}}function U(y){var u=p("div");u.className="introjs-progress",!1===y._options.showProgress&&(u.style.display="none");var g=p("div",{className:"introjs-progressbar"});y._options.progressBarAdditionalClass&&(g.className+=" "+y._options.progressBarAdditionalClass);var k=w(y._currentStep,y._introItems.length);return g.setAttribute("role","progress"),g.setAttribute("aria-valuemin","0"),g.setAttribute("aria-valuemax","100"),g.setAttribute("aria-valuenow",k.toString()),g.style.cssText="width:".concat(k,"%;"),u.appendChild(g),u}function te(y,u,g){var k=y.querySelector(".introjs-progress .introjs-progressbar");if(k){var T=w(u,g);k.style.cssText="width:".concat(T,"%;"),k.setAttribute("aria-valuenow",T.toString())}}function Q(y,u){return ye.apply(this,arguments)}function ye(){return(ye=j(G().mark(function y(u,g){var k,T,_,E,H,V,ie,fe,R,Y,J,M,me,Ie,Le,pt,mt,Et,It,Dt,ee,zt,Lt,je;return G().wrap(function(at){for(;;)switch(at.prev=at.next){case 0:if(!I(u._introChangeCallback)){at.next=3;break}return at.next=3,u._introChangeCallback.call(u,g.element);case 3:if(k=document.querySelector(".introjs-helperLayer"),T=document.querySelector(".introjs-tooltipReferenceLayer"),_="introjs-helperLayer","string"==typeof g.highlightClass&&(_+=" ".concat(g.highlightClass)),"string"==typeof u._options.highlightClass&&(_+=" ".concat(u._options.highlightClass)),null!==k&&null!==T?(ie=T.querySelector(".introjs-helperNumberLayer"),fe=T.querySelector(".introjs-tooltiptext"),R=T.querySelector(".introjs-tooltip-title"),Y=T.querySelector(".introjs-arrow"),J=T.querySelector(".introjs-tooltip"),V=T.querySelector(".introjs-skipbutton"),H=T.querySelector(".introjs-prevbutton"),E=T.querySelector(".introjs-nextbutton"),k.className=_,J.style.opacity="0",J.style.display="none",De(u._options.scrollToElement,g.element),ct(u,g,k),ct(u,g,T),v(),u._lastShowElementTimer&&window.clearTimeout(u._lastShowElementTimer),u._lastShowElementTimer=window.setTimeout(function(){null!==ie&&(ie.innerHTML="".concat(g.step," ").concat(u._options.stepNumbersOfLabel," ").concat(u._introItems.length)),fe.innerHTML=g.intro||"",R.innerHTML=g.title||"",J.style.display="block",ue(u,g,J,Y),$(u._options.showBullets,T,g),te(T,u._currentStep,u._introItems.length),J.style.opacity="1",(null!=E&&/introjs-donebutton/gi.test(E.className)||null!=E)&&E.focus(),rt(u._options.scrollToElement,g.scrollTo,u._options.scrollPadding,g.element,fe)},350)):(M=p("div",{className:_}),me=p("div",{className:"introjs-tooltipReferenceLayer"}),Ie=p("div",{className:"introjs-arrow"}),Le=p("div",{className:"introjs-tooltip"}),pt=p("div",{className:"introjs-tooltiptext"}),mt=p("div",{className:"introjs-tooltip-header"}),Et=p("h1",{className:"introjs-tooltip-title"}),It=p("div"),it(M,{"box-shadow":"0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(u._options.overlayOpacity.toString(),") 0 0 0 5000px")}),De(u._options.scrollToElement,g.element),ct(u,g,M),ct(u,g,me),d(u._targetElement,M,!0),d(u._targetElement,me),pt.innerHTML=g.intro,Et.innerHTML=g.title,It.className="introjs-tooltipbuttons",!1===u._options.showButtons&&(It.style.display="none"),mt.appendChild(Et),Le.appendChild(mt),Le.appendChild(pt),u._options.dontShowAgain&&(Dt=p("div",{className:"introjs-dontShowAgain"}),(ee=p("input",{type:"checkbox",id:"introjs-dontShowAgain",name:"introjs-dontShowAgain"})).onchange=function(X){u.setDontShowAgain(X.target.checked)},(zt=p("label",{htmlFor:"introjs-dontShowAgain"})).innerText=u._options.dontShowAgainLabel,Dt.appendChild(ee),Dt.appendChild(zt),Le.appendChild(Dt)),Le.appendChild(B(u,g)),Le.appendChild(U(u)),Lt=p("div"),!0===u._options.showStepNumbers&&(Lt.className="introjs-helperNumberLayer",Lt.innerHTML="".concat(g.step," ").concat(u._options.stepNumbersOfLabel," ").concat(u._introItems.length),Le.appendChild(Lt)),Le.appendChild(Ie),me.appendChild(Le),(E=p("a")).onclick=j(G().mark(function X(){return G().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:if(u._introItems.length-1===u._currentStep){D.next=5;break}return D.next=3,Fe(u);case 3:D.next=11;break;case 5:if(!/introjs-donebutton/gi.test(E.className)){D.next=11;break}if(!I(u._introCompleteCallback)){D.next=9;break}return D.next=9,u._introCompleteCallback.call(u,u._currentStep,"done");case 9:return D.next=11,Yt(u,u._targetElement);case 11:case"end":return D.stop()}},X)})),pe(E),E.innerHTML=u._options.nextLabel,(H=p("a")).onclick=j(G().mark(function X(){return G().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:if(!(u._currentStep>0)){D.next=3;break}return D.next=3,Bt(u);case 3:case"end":return D.stop()}},X)})),pe(H),H.innerHTML=u._options.prevLabel,pe(V=p("a",{className:"introjs-skipbutton"})),V.innerHTML=u._options.skipLabel,V.onclick=j(G().mark(function X(){return G().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:if(u._introItems.length-1!==u._currentStep||!I(u._introCompleteCallback)){D.next=3;break}return D.next=3,u._introCompleteCallback.call(u,u._currentStep,"skip");case 3:if(!I(u._introSkipCallback)){D.next=6;break}return D.next=6,u._introSkipCallback.call(u,u._currentStep);case 6:return D.next=8,Yt(u,u._targetElement);case 8:case"end":return D.stop()}},X)})),mt.appendChild(V),u._introItems.length>1&&It.appendChild(H),It.appendChild(E),Le.appendChild(It),ue(u,g,Le,Ie),rt(u._options.scrollToElement,g.scrollTo,u._options.scrollPadding,g.element,Le)),(je=u._targetElement.querySelector(".introjs-disableInteraction"))&&je.parentNode&&je.parentNode.removeChild(je),g.disableInteraction&&C(u,g),0===u._currentStep&&u._introItems.length>1?(null!=E&&(E.className="".concat(u._options.buttonClass," introjs-nextbutton"),E.innerHTML=u._options.nextLabel),!0===u._options.hidePrev?(null!=H&&(H.className="".concat(u._options.buttonClass," introjs-prevbutton introjs-hidden")),null!=E&&Oe(E,"introjs-fullbutton")):null!=H&&(H.className="".concat(u._options.buttonClass," introjs-prevbutton introjs-disabled"))):u._introItems.length-1===u._currentStep||1===u._introItems.length?(null!=H&&(H.className="".concat(u._options.buttonClass," introjs-prevbutton")),!0===u._options.hideNext?(null!=E&&(E.className="".concat(u._options.buttonClass," introjs-nextbutton introjs-hidden")),null!=H&&Oe(H,"introjs-fullbutton")):null!=E&&(!0===u._options.nextToDone?(E.innerHTML=u._options.doneLabel,Oe(E,"".concat(u._options.buttonClass," introjs-nextbutton introjs-donebutton"))):E.className="".concat(u._options.buttonClass," introjs-nextbutton introjs-disabled"))):(null!=H&&(H.className="".concat(u._options.buttonClass," introjs-prevbutton")),null!=E&&(E.className="".concat(u._options.buttonClass," introjs-nextbutton"),E.innerHTML=u._options.nextLabel)),H?.setAttribute("role","button"),E?.setAttribute("role","button"),V?.setAttribute("role","button"),E?.focus(),Nt(g.element),!I(u._introAfterChangeCallback)){at.next=21;break}return at.next=21,u._introAfterChangeCallback.call(u,g.element);case 21:case"end":return at.stop()}},y)}))).apply(this,arguments)}function ce(y,u){return we.apply(this,arguments)}function we(){return(we=j(G().mark(function y(u,g){return G().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:if(u._currentStep=g-2,void 0===u._introItems){k.next=4;break}return k.next=4,Fe(u);case 4:case"end":return k.stop()}},y)}))).apply(this,arguments)}function Ue(y,u){return et.apply(this,arguments)}function et(){return(et=j(G().mark(function y(u,g){return G().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:if(u._currentStepNumber=g,void 0===u._introItems){k.next=4;break}return k.next=4,Fe(u);case 4:case"end":return k.stop()}},y)}))).apply(this,arguments)}function Fe(y){return At.apply(this,arguments)}function At(){return(At=j(G().mark(function y(u){var g,k,T;return G().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(u._direction="forward",void 0!==u._currentStepNumber)for(g=0;g=0&&(u._hintsAutoRefreshFunction=o(function(){return yr(u)},u._options.hintAutoRefreshInterval),se.on(window,"scroll",u._hintsAutoRefreshFunction,u,!0));case 30:case"end":return ie.stop()}},y)}))).apply(this,arguments)}function S(y,u,g){if(void 0!==g){var k=yt(g),T=20,_=20;switch(y){default:case"top-left":u.style.left="".concat(k.left,"px"),u.style.top="".concat(k.top,"px");break;case"top-right":u.style.left="".concat(k.left+k.width-T,"px"),u.style.top="".concat(k.top,"px");break;case"bottom-left":u.style.left="".concat(k.left,"px"),u.style.top="".concat(k.top+k.height-_,"px");break;case"bottom-right":u.style.left="".concat(k.left+k.width-T,"px"),u.style.top="".concat(k.top+k.height-_,"px");break;case"middle-left":u.style.left="".concat(k.left,"px"),u.style.top="".concat(k.top+(k.height-_)/2,"px");break;case"middle-right":u.style.left="".concat(k.left+k.width-T,"px"),u.style.top="".concat(k.top+(k.height-_)/2,"px");break;case"middle-middle":u.style.left="".concat(k.left+(k.width-T)/2,"px"),u.style.top="".concat(k.top+(k.height-_)/2,"px");break;case"bottom-middle":u.style.left="".concat(k.left+(k.width-T)/2,"px"),u.style.top="".concat(k.top+k.height-_,"px");break;case"top-middle":u.style.left="".concat(k.left+(k.width-T)/2,"px"),u.style.top="".concat(k.top,"px")}}}function xt(y,u){return z.apply(this,arguments)}function z(){return(z=j(G().mark(function y(u,g){var k,T,_,E,H,V,ie,fe,R,Y,J;return G().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:if(k=document.querySelector('.introjs-hint[data-step="'.concat(g,'"]')),T=u._hintItems[g],!I(u._hintClickCallback)){M.next=5;break}return M.next=5,u._hintClickCallback.call(u,k,T,g);case 5:if(void 0===(_=Jt())||parseInt(_,10)!==g){M.next=8;break}return M.abrupt("return");case 8:E=p("div",{className:"introjs-tooltip"}),H=p("div"),V=p("div"),ie=p("div"),E.onclick=function(me){me.stopPropagation?me.stopPropagation():me.cancelBubble=!0},H.className="introjs-tooltiptext",(fe=p("p")).innerHTML=T.hint||"",H.appendChild(fe),u._options.hintShowButton&&((R=p("a")).className=u._options.buttonClass,R.setAttribute("role","button"),R.innerHTML=u._options.hintButtonLabel,R.onclick=function(){return s(u,g)},H.appendChild(R)),V.className="introjs-arrow",E.appendChild(V),E.appendChild(H),Y=k.getAttribute("data-step")||"",u._currentStep=parseInt(Y,10),J=u._hintItems[u._currentStep],ie.className="introjs-tooltipReferenceLayer introjs-hintReference",ie.setAttribute("data-step",Y),ct(u,J,ie),ie.appendChild(E),document.body.appendChild(ie),ue(u,J,E,V,!0);case 30:case"end":return M.stop()}},y)}))).apply(this,arguments)}function Jt(){var y=document.querySelector(".introjs-hintReference");if(y&&y.parentNode){var u=y.getAttribute("data-step");return u?(y.parentNode.removeChild(y),u):void 0}}function Wt(y,u){return cr.apply(this,arguments)}function cr(){return(cr=j(G().mark(function y(u,g){var k,T,E,H,V,ie,fe,R,Y;return G().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:if(u._hintItems=[],!(u._options.hints&&u._options.hints.length>0)){J.next=6;break}k=ot(u._options.hints);try{for(k.s();!(T=k.n()).done;)"string"==typeof(E=a(T.value)).element&&(E.element=document.querySelector(E.element)),E.hintPosition=E.hintPosition||u._options.hintPosition,E.hintAnimation=E.hintAnimation||u._options.hintAnimation,null!==E.element&&u._hintItems.push(E)}catch(M){k.e(M)}finally{k.f()}J.next=10;break;case 6:if((H=Array.from(g.querySelectorAll("*[data-hint]")))&&H.length){J.next=9;break}return J.abrupt("return",!1);case 9:for(V=0,ie=H;V0&&(k[Y-1]={step:Y,element:R,title:R.getAttribute("data-title")||"",intro:R.getAttribute("data-intro")||"",tooltipClass:R.getAttribute("data-tooltip-class")||void 0,highlightClass:R.getAttribute("data-highlight-class")||void 0,position:R.getAttribute("data-position")||y._options.tooltipPosition,scrollTo:R.getAttribute("data-scroll-to")||y._options.scrollTo,disableInteraction:V})}}}catch(mt){fe.e(mt)}finally{fe.f()}var J,M=0,me=ot(g);try{for(me.s();!(J=me.n()).done;){var Ie=J.value;if((!y._options.group||Ie.getAttribute("data-intro-group")===y._options.group)&&null===Ie.getAttribute("data-step")){for(;void 0!==k[M];)M++;V=Ie.hasAttribute("data-disable-interaction")?!!Ie.getAttribute("data-disable-interaction"):y._options.disableInteraction,k[M]={element:Ie,title:Ie.getAttribute("data-title")||"",intro:Ie.getAttribute("data-intro")||"",step:M+1,tooltipClass:Ie.getAttribute("data-tooltip-class")||void 0,highlightClass:Ie.getAttribute("data-highlight-class")||void 0,position:Ie.getAttribute("data-position")||y._options.tooltipPosition,scrollTo:Ie.getAttribute("data-scroll-to")||y._options.scrollTo,disableInteraction:V}}}}catch(mt){me.e(mt)}finally{me.f()}}for(var Le=[],pt=0;pt1&&void 0!==arguments[1]&&arguments[1]?(it(y,{opacity:"0"}),window.setTimeout(function(){try{g.removeChild(y)}catch{}},500)):g.removeChild(y)}}function Yt(y,u){return hr.apply(this,arguments)}function hr(){return hr=j(G().mark(function y(u,g){var k,T,_,E,H,V=arguments;return G().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:if(k=V.length>2&&void 0!==V[2]&&V[2],T=!0,void 0===u._introBeforeExitCallback){ie.next=6;break}return ie.next=5,u._introBeforeExitCallback.call(u,g);case 5:T=ie.sent;case 6:if(k||!1!==T){ie.next=8;break}return ie.abrupt("return");case 8:if((_=Array.from(g.querySelectorAll(".introjs-overlay")))&&_.length){E=ot(_);try{for(E.s();!(H=E.n()).done;)er(H.value)}catch(fe){E.e(fe)}finally{E.f()}}if(er(g.querySelector(".introjs-helperLayer"),!0),er(g.querySelector(".introjs-tooltipReferenceLayer")),er(g.querySelector(".introjs-disableInteraction")),er(document.querySelector(".introjsFloatingElement")),v(),se.off(window,"keydown",qt,u,!0),se.off(window,"resize",Tr,u,!0),!I(u._introExitCallback)){ie.next=24;break}return ie.next=24,u._introExitCallback.call(u);case 24:u._currentStep=-1;case 25:case"end":return ie.stop()}},y)})),hr.apply(this,arguments)}function Ee(y,u){var g=p("div",{className:"introjs-overlay"});return it(g,{top:0,bottom:0,left:0,right:0,position:"fixed"}),u.appendChild(g),!0===y._options.exitOnOverlayClick&&(it(g,{cursor:"pointer"}),g.onclick=j(G().mark(function k(){return G().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,Yt(y,u);case 2:case"end":return T.stop()}},k)}))),!0}function ht(y,u){return Ye.apply(this,arguments)}function Ye(){return(Ye=j(G().mark(function y(u,g){var k;return G().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(u.isActive()){T.next=2;break}return T.abrupt("return",!1);case 2:if(!I(u._introStartCallback)){T.next=5;break}return T.next=5,u._introStartCallback.call(u,g);case 5:if(0!==(k=zr(u,g)).length){T.next=8;break}return T.abrupt("return",!1);case 8:return u._introItems=k,Ee(u,g),T.next=12,Fe(u);case 12:u._options.keyboardNavigation&&se.on(window,"keydown",qt,u,!0),se.on(window,"resize",Tr,u,!0);case 15:return T.abrupt("return",!1);case 16:case"end":return T.stop()}},y)}))).apply(this,arguments)}function tr(y,u,g){return y[u]=g,y}var jt=function(){function y(R){Qt(this,y),Re(this,"_currentStep",-1),Re(this,"_currentStepNumber",void 0),Re(this,"_direction",void 0),Re(this,"_targetElement",void 0),Re(this,"_introItems",[]),Re(this,"_hintItems",[]),Re(this,"_options",void 0),Re(this,"_introBeforeChangeCallback",void 0),Re(this,"_introChangeCallback",void 0),Re(this,"_introAfterChangeCallback",void 0),Re(this,"_introCompleteCallback",void 0),Re(this,"_introStartCallback",void 0),Re(this,"_introExitCallback",void 0),Re(this,"_introSkipCallback",void 0),Re(this,"_introBeforeExitCallback",void 0),Re(this,"_hintsAddedCallback",void 0),Re(this,"_hintClickCallback",void 0),Re(this,"_hintCloseCallback",void 0),Re(this,"_lastShowElementTimer",void 0),Re(this,"_hintsAutoRefreshFunction",void 0),this._targetElement=R,this._options={steps:[],hints:[],isActive:!0,nextLabel:"Next",prevLabel:"Back",skipLabel:"\xd7",doneLabel:"Done",hidePrev:!1,hideNext:!1,nextToDone:!0,tooltipPosition:"bottom",tooltipClass:"",group:"",highlightClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!1,stepNumbersOfLabel:"of",keyboardNavigation:!0,showButtons:!0,showBullets:!0,showProgress:!1,scrollToElement:!0,scrollTo:"element",scrollPadding:30,overlayOpacity:.5,autoPosition:!0,positionPrecedence:["bottom","top","right","left"],disableInteraction:!1,dontShowAgain:!1,dontShowAgainLabel:"Don't show this again",dontShowAgainCookie:"introjs-dontShowAgain",dontShowAgainCookieDays:365,helperElementPadding:10,hintPosition:"top-middle",hintButtonLabel:"Got it",hintShowButton:!0,hintAutoRefreshInterval:10,hintAnimation:!0,buttonClass:"introjs-button",progressBarAdditionalClass:!1}}var u,g,k,T,_,E,H,V,ie,fe,R;return ke(y,[{key:"isActive",value:function(){return(!this._options.dontShowAgain||""===(R=Ot(this._options.dontShowAgainCookie))||"true"!==R)&&this._options.isActive;var R}},{key:"clone",value:function(){return new y(this._targetElement)}},{key:"setOption",value:function(R,Y){return this._options=tr(this._options,R,Y),this}},{key:"setOptions",value:function(R){return this._options=function(Y,J){for(var M=0,me=Object.entries(J);M"']/,Qt=new RegExp(j.source,"g"),Rt=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,ke=new RegExp(Rt.source,"g"),Re={"&":"&","<":"<",">":">",'"':""","'":"'"},he=ue=>Re[ue];function We(ue,v){if(v){if(j.test(ue))return ue.replace(Qt,he)}else if(Rt.test(ue))return ue.replace(ke,he);return ue}const or=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,ot=/(^|[^\[])\^/g;function ve(ue,v){ue="string"==typeof ue?ue:ue.source,v=v||"";const p={replace:(d,w)=>(w=(w="object"==typeof w&&"source"in w?w.source:w).replace(ot,"$1"),ue=ue.replace(d,w),p),getRegex:()=>new RegExp(ue,v)};return p}function Qe(ue){try{ue=encodeURI(ue).replace(/%25/g,"%")}catch{return null}return ue}const Ot={exec:()=>null};function lt(ue,v){const p=ue.replace(/\|/g,(w,C,B)=>{let $=!1,U=C;for(;--U>=0&&"\\"===B[U];)$=!$;return $?"|":" |"}).split(/ \|/);let d=0;if(p[0].trim()||p.shift(),p.length>0&&!p[p.length-1].trim()&&p.pop(),v)if(p.length>v)p.splice(v);else for(;p.length0)return{type:"space",raw:p[0]}}code(v){const p=this.rules.block.code.exec(v);if(p){const d=p[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:p[0],codeBlockStyle:"indented",text:this.options.pedantic?d:_t(d,"\n")}}}fences(v){const p=this.rules.block.fences.exec(v);if(p){const d=p[0],w=function(C,B){const $=C.match(/^(\s+)(?:```)/);if(null===$)return B;const U=$[1];return B.split("\n").map(te=>{const Q=te.match(/^\s+/);if(null===Q)return te;const[ye]=Q;return ye.length>=U.length?te.slice(U.length):te}).join("\n")}(d,p[3]||"");return{type:"code",raw:d,lang:p[2]?p[2].trim().replace(this.rules.inline._escapes,"$1"):p[2],text:w}}}heading(v){const p=this.rules.block.heading.exec(v);if(p){let d=p[2].trim();if(/#$/.test(d)){const w=_t(d,"#");this.options.pedantic?d=w.trim():w&&!/ $/.test(w)||(d=w.trim())}return{type:"heading",raw:p[0],depth:p[1].length,text:d,tokens:this.lexer.inline(d)}}}hr(v){const p=this.rules.block.hr.exec(v);if(p)return{type:"hr",raw:p[0]}}blockquote(v){const p=this.rules.block.blockquote.exec(v);if(p){const d=_t(p[0].replace(/^ *>[ \t]?/gm,""),"\n"),w=this.lexer.state.top;this.lexer.state.top=!0;const C=this.lexer.blockTokens(d);return this.lexer.state.top=w,{type:"blockquote",raw:p[0],tokens:C,text:d}}}list(v){let p=this.rules.block.list.exec(v);if(p){let d=p[1].trim();const w=d.length>1,C={type:"list",raw:"",ordered:w,start:w?+d.slice(0,-1):"",loose:!1,items:[]};d=w?`\\d{1,9}\\${d.slice(-1)}`:`\\${d}`,this.options.pedantic&&(d=w?d:"[*+-]");const B=new RegExp(`^( {0,3}${d})((?:[\t ][^\\n]*)?(?:\\n|$))`);let $="",U="",te=!1;for(;v;){let Q=!1;if(!(p=B.exec(v))||this.rules.block.hr.test(v))break;$=p[0],v=v.substring($.length);let ye=p[2].split("\n",1)[0].replace(/^\t+/,At=>" ".repeat(3*At.length)),ce=v.split("\n",1)[0],we=0;this.options.pedantic?(we=2,U=ye.trimStart()):(we=p[2].search(/[^ ]/),we=we>4?1:we,U=ye.slice(we),we+=p[1].length);let Ue=!1;if(!ye&&/^ *$/.test(ce)&&($+=ce+"\n",v=v.substring(ce.length+1),Q=!0),!Q){const At=new RegExp(`^ {0,${Math.min(3,we-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),Bt=new RegExp(`^ {0,${Math.min(3,we-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),Pt=new RegExp(`^ {0,${Math.min(3,we-1)}}(?:\`\`\`|~~~)`),qt=new RegExp(`^ {0,${Math.min(3,we-1)}}#`);for(;v;){const qe=v.split("\n",1)[0];if(ce=qe,this.options.pedantic&&(ce=ce.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),Pt.test(ce)||qt.test(ce)||At.test(ce)||Bt.test(v))break;if(ce.search(/[^ ]/)>=we||!ce.trim())U+="\n"+ce.slice(we);else{if(Ue||ye.search(/[^ ]/)>=4||Pt.test(ye)||qt.test(ye)||Bt.test(ye))break;U+="\n"+ce}Ue||ce.trim()||(Ue=!0),$+=qe+"\n",v=v.substring(qe.length+1),ye=ce.slice(we)}}C.loose||(te?C.loose=!0:/\n *\n *$/.test($)&&(te=!0));let et,Fe=null;this.options.gfm&&(Fe=/^\[[ xX]\] /.exec(U),Fe&&(et="[ ] "!==Fe[0],U=U.replace(/^\[[ xX]\] +/,""))),C.items.push({type:"list_item",raw:$,task:!!Fe,checked:et,loose:!1,text:U,tokens:[]}),C.raw+=$}C.items[C.items.length-1].raw=$.trimEnd(),C.items[C.items.length-1].text=U.trimEnd(),C.raw=C.raw.trimEnd();for(let Q=0;Q"space"===we.type),ce=ye.length>0&&ye.some(we=>/\n.*\n/.test(we.raw));C.loose=ce}if(C.loose)for(let Q=0;Q$/,"$1").replace(this.rules.inline._escapes,"$1"):"",C=p[3]?p[3].substring(1,p[3].length-1).replace(this.rules.inline._escapes,"$1"):p[3];return{type:"def",tag:d,raw:p[0],href:w,title:C}}}table(v){const p=this.rules.block.table.exec(v);if(p){if(!/[:|]/.test(p[2]))return;const d={type:"table",raw:p[0],header:lt(p[1]).map(w=>({text:w,tokens:[]})),align:p[2].replace(/^\||\| *$/g,"").split("|"),rows:p[3]&&p[3].trim()?p[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(d.header.length===d.align.length){let w,C,B,$,U=d.align.length;for(w=0;w({text:te,tokens:[]}));for(U=d.header.length,C=0;C/i.test(p[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(p[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(p[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:p[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:p[0]}}link(v){const p=this.rules.inline.link.exec(v);if(p){const d=p[2].trim();if(!this.options.pedantic&&/^$/.test(d))return;const B=_t(d.slice(0,-1),"\\");if((d.length-B.length)%2==0)return}else{const B=function($,U){if(-1===$.indexOf(U[1]))return-1;let te=0;for(let Q=0;Q<$.length;Q++)if("\\"===$[Q])Q++;else if($[Q]===U[0])te++;else if($[Q]===U[1]&&(te--,te<0))return Q;return-1}(p[2],"()");if(B>-1){const $=(0===p[0].indexOf("!")?5:4)+p[1].length+B;p[2]=p[2].substring(0,B),p[0]=p[0].substring(0,$).trim(),p[3]=""}}let w=p[2],C="";if(this.options.pedantic){const B=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(w);B&&(w=B[1],C=B[3])}else C=p[3]?p[3].slice(1,-1):"";return w=w.trim(),/^$/.test(d)?w.slice(1):w.slice(1,-1)),kt(p,{href:w&&w.replace(this.rules.inline._escapes,"$1"),title:C&&C.replace(this.rules.inline._escapes,"$1")},p[0],this.lexer)}}reflink(v,p){let d;if((d=this.rules.inline.reflink.exec(v))||(d=this.rules.inline.nolink.exec(v))){let w=(d[2]||d[1]).replace(/\s+/g," ");if(w=p[w.toLowerCase()],!w){const C=d[0].charAt(0);return{type:"text",raw:C,text:C}}return kt(d,w,d[0],this.lexer)}}emStrong(v,p,d=""){let w=this.rules.inline.emStrong.lDelim.exec(v);if(w&&(!w[3]||!d.match(/[\p{L}\p{N}]/u))&&(!w[1]&&!w[2]||!d||this.rules.inline.punctuation.exec(d))){const C=[...w[0]].length-1;let B,$,U=C,te=0;const Q="*"===w[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Q.lastIndex=0,p=p.slice(-1*v.length+C);null!=(w=Q.exec(p));){if(B=w[1]||w[2]||w[3]||w[4]||w[5]||w[6],!B)continue;if($=[...B].length,w[3]||w[4]){U+=$;continue}if((w[5]||w[6])&&C%3&&!((C+$)%3)){te+=$;continue}if(U-=$,U>0)continue;$=Math.min($,$+U+te);const ye=[...w[0]][0].length,ce=v.slice(0,C+w.index+ye+$);if(Math.min(C,$)%2){const Ue=ce.slice(1,-1);return{type:"em",raw:ce,text:Ue,tokens:this.lexer.inlineTokens(Ue)}}const we=ce.slice(2,-2);return{type:"strong",raw:ce,text:we,tokens:this.lexer.inlineTokens(we)}}}}codespan(v){const p=this.rules.inline.code.exec(v);if(p){let d=p[2].replace(/\n/g," ");const w=/[^ ]/.test(d),C=/^ /.test(d)&&/ $/.test(d);return w&&C&&(d=d.substring(1,d.length-1)),d=We(d,!0),{type:"codespan",raw:p[0],text:d}}}br(v){const p=this.rules.inline.br.exec(v);if(p)return{type:"br",raw:p[0]}}del(v){const p=this.rules.inline.del.exec(v);if(p)return{type:"del",raw:p[0],text:p[2],tokens:this.lexer.inlineTokens(p[2])}}autolink(v){const p=this.rules.inline.autolink.exec(v);if(p){let d,w;return"@"===p[2]?(d=We(p[1]),w="mailto:"+d):(d=We(p[1]),w=d),{type:"link",raw:p[0],text:d,href:w,tokens:[{type:"text",raw:d,text:d}]}}}url(v){let p;if(p=this.rules.inline.url.exec(v)){let d,w;if("@"===p[2])d=We(p[0]),w="mailto:"+d;else{let C;do{C=p[0],p[0]=this.rules.inline._backpedal.exec(p[0])[0]}while(C!==p[0]);d=We(p[0]),w="www."===p[1]?"http://"+p[0]:p[0]}return{type:"link",raw:p[0],text:d,href:w,tokens:[{type:"text",raw:d,text:d}]}}}inlineText(v){const p=this.rules.inline.text.exec(v);if(p){let d;return d=this.lexer.state.inRawBlock?p[0]:We(p[0]),{type:"text",raw:p[0],text:d}}}}const se={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Ot,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};se.def=ve(se.def).replace("label",se._label).replace("title",se._title).getRegex(),se.bullet=/(?:[*+-]|\d{1,9}[.)])/,se.listItemStart=ve(/^( *)(bull) */).replace("bull",se.bullet).getRegex(),se.list=ve(se.list).replace(/bull/g,se.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+se.def.source+")").getRegex(),se._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",se._comment=/|$)/,se.html=ve(se.html,"i").replace("comment",se._comment).replace("tag",se._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),se.lheading=ve(se.lheading).replace(/bull/g,se.bullet).getRegex(),se.paragraph=ve(se._paragraph).replace("hr",se.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",se._tag).getRegex(),se.blockquote=ve(se.blockquote).replace("paragraph",se.paragraph).getRegex(),se.normal={...se},se.gfm={...se.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},se.gfm.table=ve(se.gfm.table).replace("hr",se.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",se._tag).getRegex(),se.gfm.paragraph=ve(se._paragraph).replace("hr",se.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",se.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",se._tag).getRegex(),se.pedantic={...se.normal,html:ve("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",se._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ot,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ve(se.normal._paragraph).replace("hr",se.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",se.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const I={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ot,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Ot,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`^|~"};I.punctuation=ve(I.punctuation,"u").replace(/punctuation/g,I._punctuation).getRegex(),I.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,I.anyPunctuation=/\\[punct]/g,I._escapes=/\\([punct])/g,I._comment=ve(se._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),I.emStrong.lDelim=ve(I.emStrong.lDelim,"u").replace(/punct/g,I._punctuation).getRegex(),I.emStrong.rDelimAst=ve(I.emStrong.rDelimAst,"gu").replace(/punct/g,I._punctuation).getRegex(),I.emStrong.rDelimUnd=ve(I.emStrong.rDelimUnd,"gu").replace(/punct/g,I._punctuation).getRegex(),I.anyPunctuation=ve(I.anyPunctuation,"gu").replace(/punct/g,I._punctuation).getRegex(),I._escapes=ve(I._escapes,"gu").replace(/punct/g,I._punctuation).getRegex(),I._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,I._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,I.autolink=ve(I.autolink).replace("scheme",I._scheme).replace("email",I._email).getRegex(),I._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,I.tag=ve(I.tag).replace("comment",I._comment).replace("attribute",I._attribute).getRegex(),I._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,I._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,I._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,I.link=ve(I.link).replace("label",I._label).replace("href",I._href).replace("title",I._title).getRegex(),I.reflink=ve(I.reflink).replace("label",I._label).replace("ref",se._label).getRegex(),I.nolink=ve(I.nolink).replace("ref",se._label).getRegex(),I.reflinkSearch=ve(I.reflinkSearch,"g").replace("reflink",I.reflink).replace("nolink",I.nolink).getRegex(),I.normal={...I},I.pedantic={...I.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:ve(/^!?\[(label)\]\((.*?)\)/).replace("label",I._label).getRegex(),reflink:ve(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",I._label).getRegex()},I.gfm={...I.normal,escape:ve(I.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\U+" ".repeat(te.length));v;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some($=>!!(d=$.call({lexer:this},v,p))&&(v=v.substring(d.raw.length),p.push(d),!0))))if(d=this.tokenizer.space(v))v=v.substring(d.raw.length),1===d.raw.length&&p.length>0?p[p.length-1].raw+="\n":p.push(d);else if(d=this.tokenizer.code(v))v=v.substring(d.raw.length),w=p[p.length-1],!w||"paragraph"!==w.type&&"text"!==w.type?p.push(d):(w.raw+="\n"+d.raw,w.text+="\n"+d.text,this.inlineQueue[this.inlineQueue.length-1].src=w.text);else if(d=this.tokenizer.fences(v))v=v.substring(d.raw.length),p.push(d);else if(d=this.tokenizer.heading(v))v=v.substring(d.raw.length),p.push(d);else if(d=this.tokenizer.hr(v))v=v.substring(d.raw.length),p.push(d);else if(d=this.tokenizer.blockquote(v))v=v.substring(d.raw.length),p.push(d);else if(d=this.tokenizer.list(v))v=v.substring(d.raw.length),p.push(d);else if(d=this.tokenizer.html(v))v=v.substring(d.raw.length),p.push(d);else if(d=this.tokenizer.def(v))v=v.substring(d.raw.length),w=p[p.length-1],!w||"paragraph"!==w.type&&"text"!==w.type?this.tokens.links[d.tag]||(this.tokens.links[d.tag]={href:d.href,title:d.title}):(w.raw+="\n"+d.raw,w.text+="\n"+d.raw,this.inlineQueue[this.inlineQueue.length-1].src=w.text);else if(d=this.tokenizer.table(v))v=v.substring(d.raw.length),p.push(d);else if(d=this.tokenizer.lheading(v))v=v.substring(d.raw.length),p.push(d);else{if(C=v,this.options.extensions&&this.options.extensions.startBlock){let $=1/0;const U=v.slice(1);let te;this.options.extensions.startBlock.forEach(Q=>{te=Q.call({lexer:this},U),"number"==typeof te&&te>=0&&($=Math.min($,te))}),$<1/0&&$>=0&&(C=v.substring(0,$+1))}if(this.state.top&&(d=this.tokenizer.paragraph(C)))w=p[p.length-1],B&&"paragraph"===w.type?(w.raw+="\n"+d.raw,w.text+="\n"+d.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=w.text):p.push(d),B=C.length!==v.length,v=v.substring(d.raw.length);else if(d=this.tokenizer.text(v))v=v.substring(d.raw.length),w=p[p.length-1],w&&"text"===w.type?(w.raw+="\n"+d.raw,w.text+="\n"+d.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=w.text):p.push(d);else if(v){const $="Infinite loop on byte: "+v.charCodeAt(0);if(this.options.silent){console.error($);break}throw new Error($)}}return this.state.top=!0,p}inline(v,p=[]){return this.inlineQueue.push({src:v,tokens:p}),p}inlineTokens(v,p=[]){let d,w,C,B,$,U,te=v;if(this.tokens.links){const Q=Object.keys(this.tokens.links);if(Q.length>0)for(;null!=(B=this.tokenizer.rules.inline.reflinkSearch.exec(te));)Q.includes(B[0].slice(B[0].lastIndexOf("[")+1,-1))&&(te=te.slice(0,B.index)+"["+"a".repeat(B[0].length-2)+"]"+te.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(B=this.tokenizer.rules.inline.blockSkip.exec(te));)te=te.slice(0,B.index)+"["+"a".repeat(B[0].length-2)+"]"+te.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(B=this.tokenizer.rules.inline.anyPunctuation.exec(te));)te=te.slice(0,B.index)+"++"+te.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;v;)if($||(U=""),$=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(Q=>!!(d=Q.call({lexer:this},v,p))&&(v=v.substring(d.raw.length),p.push(d),!0))))if(d=this.tokenizer.escape(v))v=v.substring(d.raw.length),p.push(d);else if(d=this.tokenizer.tag(v))v=v.substring(d.raw.length),w=p[p.length-1],w&&"text"===d.type&&"text"===w.type?(w.raw+=d.raw,w.text+=d.text):p.push(d);else if(d=this.tokenizer.link(v))v=v.substring(d.raw.length),p.push(d);else if(d=this.tokenizer.reflink(v,this.tokens.links))v=v.substring(d.raw.length),w=p[p.length-1],w&&"text"===d.type&&"text"===w.type?(w.raw+=d.raw,w.text+=d.text):p.push(d);else if(d=this.tokenizer.emStrong(v,te,U))v=v.substring(d.raw.length),p.push(d);else if(d=this.tokenizer.codespan(v))v=v.substring(d.raw.length),p.push(d);else if(d=this.tokenizer.br(v))v=v.substring(d.raw.length),p.push(d);else if(d=this.tokenizer.del(v))v=v.substring(d.raw.length),p.push(d);else if(d=this.tokenizer.autolink(v))v=v.substring(d.raw.length),p.push(d);else if(this.state.inLink||!(d=this.tokenizer.url(v))){if(C=v,this.options.extensions&&this.options.extensions.startInline){let Q=1/0;const ye=v.slice(1);let ce;this.options.extensions.startInline.forEach(we=>{ce=we.call({lexer:this},ye),"number"==typeof ce&&ce>=0&&(Q=Math.min(Q,ce))}),Q<1/0&&Q>=0&&(C=v.substring(0,Q+1))}if(d=this.tokenizer.inlineText(C))v=v.substring(d.raw.length),"_"!==d.raw.slice(-1)&&(U=d.raw.slice(-1)),$=!0,w=p[p.length-1],w&&"text"===w.type?(w.raw+=d.raw,w.text+=d.text):p.push(d);else if(v){const Q="Infinite loop on byte: "+v.charCodeAt(0);if(this.options.silent){console.error(Q);break}throw new Error(Q)}}else v=v.substring(d.raw.length),p.push(d);return p}}class ut{options;constructor(v){this.options=v||G.defaults}code(v,p,d){const w=(p||"").match(/^\S*/)?.[0];return v=v.replace(/\n$/,"")+"\n",w?'
'+(d?v:We(v,!0))+"
\n":"
"+(d?v:We(v,!0))+"
\n"}blockquote(v){return`
\n${v}
\n`}html(v,p){return v}heading(v,p,d){return`${v}\n`}hr(){return"
\n"}list(v,p,d){const w=p?"ol":"ul";return"<"+w+(p&&1!==d?' start="'+d+'"':"")+">\n"+v+"\n"}listitem(v,p,d){return`
  • ${v}
  • \n`}checkbox(v){return"'}paragraph(v){return`

    ${v}

    \n`}table(v,p){return p&&(p=`${p}`),"\n\n"+v+"\n"+p+"
    \n"}tablerow(v){return`\n${v}\n`}tablecell(v,p){const d=p.header?"th":"td";return(p.align?`<${d} align="${p.align}">`:`<${d}>`)+v+`\n`}strong(v){return`${v}`}em(v){return`${v}`}codespan(v){return`${v}`}br(){return"
    "}del(v){return`${v}`}link(v,p,d){const w=Qe(v);if(null===w)return d;let C='",C}image(v,p,d){const w=Qe(v);if(null===w)return d;let C=`${d}"colon"===(U=U.toLowerCase())?":":"#"===U.charAt(0)?"x"===U.charAt(1)?String.fromCharCode(parseInt(U.substring(2),16)):String.fromCharCode(+U.substring(1)):""));continue}case"code":d+=this.renderer.code(C.text,C.lang,!!C.escaped);continue;case"table":{const B=C;let $="",U="";for(let Q=0;Q0&&"paragraph"===ce.tokens[0].type?(ce.tokens[0].text=Fe+" "+ce.tokens[0].text,ce.tokens[0].tokens&&ce.tokens[0].tokens.length>0&&"text"===ce.tokens[0].tokens[0].type&&(ce.tokens[0].tokens[0].text=Fe+" "+ce.tokens[0].tokens[0].text)):ce.tokens.unshift({type:"text",text:Fe+" "}):et+=Fe+" "}et+=this.parse(ce.tokens,te),Q+=this.renderer.listitem(et,Ue,!!we)}d+=this.renderer.list(Q,$,U);continue}case"html":d+=this.renderer.html(C.text,C.block);continue;case"paragraph":d+=this.renderer.paragraph(this.parseInline(C.tokens));continue;case"text":{let B=C,$=B.tokens?this.parseInline(B.tokens):B.text;for(;w+1{d=d.concat(this.walkTokens(C[B],p))}):C.tokens&&(d=d.concat(this.walkTokens(C.tokens,p)))}}return d}use(...v){const p=this.defaults.extensions||{renderers:{},childTokens:{}};return v.forEach(d=>{const w={...d};if(w.async=this.defaults.async||w.async||!1,d.extensions&&(d.extensions.forEach(C=>{if(!C.name)throw new Error("extension name required");if("renderer"in C){const B=p.renderers[C.name];p.renderers[C.name]=B?function(...$){let U=C.renderer.apply(this,$);return!1===U&&(U=B.apply(this,$)),U}:C.renderer}if("tokenizer"in C){if(!C.level||"block"!==C.level&&"inline"!==C.level)throw new Error("extension level must be 'block' or 'inline'");const B=p[C.level];B?B.unshift(C.tokenizer):p[C.level]=[C.tokenizer],C.start&&("block"===C.level?p.startBlock?p.startBlock.push(C.start):p.startBlock=[C.start]:"inline"===C.level&&(p.startInline?p.startInline.push(C.start):p.startInline=[C.start]))}"childTokens"in C&&C.childTokens&&(p.childTokens[C.name]=C.childTokens)}),w.extensions=p),d.renderer){const C=this.defaults.renderer||new ut(this.defaults);for(const B in d.renderer){const $=d.renderer[B],te=C[B];C[B]=(...Q)=>{let ye=$.apply(C,Q);return!1===ye&&(ye=te.apply(C,Q)),ye||""}}w.renderer=C}if(d.tokenizer){const C=this.defaults.tokenizer||new bt(this.defaults);for(const B in d.tokenizer){const $=d.tokenizer[B],te=C[B];C[B]=(...Q)=>{let ye=$.apply(C,Q);return!1===ye&&(ye=te.apply(C,Q)),ye}}w.tokenizer=C}if(d.hooks){const C=this.defaults.hooks||new vt;for(const B in d.hooks){const $=d.hooks[B],te=C[B];C[B]=vt.passThroughHooks.has(B)?Q=>{if(this.defaults.async)return Promise.resolve($.call(C,Q)).then(ce=>te.call(C,ce));const ye=$.call(C,Q);return te.call(C,ye)}:(...Q)=>{let ye=$.apply(C,Q);return!1===ye&&(ye=te.apply(C,Q)),ye}}w.hooks=C}if(d.walkTokens){const C=this.defaults.walkTokens,B=d.walkTokens;w.walkTokens=function($){let U=[];return U.push(B.call(this,$)),C&&(U=U.concat(C.call(this,$))),U}}this.defaults={...this.defaults,...w}}),this}setOptions(v){return this.defaults={...this.defaults,...v},this}lexer(v,p){return Oe.lex(v,p??this.defaults)}parser(v,p){return De.parse(v,p??this.defaults)}#e(v,p){return(d,w)=>{const C={...w},B={...this.defaults,...C};!0===this.defaults.async&&!1===C.async&&(B.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),B.async=!0);const $=this.#t(!!B.silent,!!B.async);if(null==d)return $(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof d)return $(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(d)+", string expected"));if(B.hooks&&(B.hooks.options=B),B.async)return Promise.resolve(B.hooks?B.hooks.preprocess(d):d).then(U=>v(U,B)).then(U=>B.walkTokens?Promise.all(this.walkTokens(U,B.walkTokens)).then(()=>U):U).then(U=>p(U,B)).then(U=>B.hooks?B.hooks.postprocess(U):U).catch($);try{B.hooks&&(d=B.hooks.preprocess(d));const U=v(d,B);B.walkTokens&&this.walkTokens(U,B.walkTokens);let te=p(U,B);return B.hooks&&(te=B.hooks.postprocess(te)),te}catch(U){return $(U)}}}#t(v,p){return d=>{if(d.message+="\nPlease report this to https://github.com/markedjs/marked.",v){const w="

    An error occurred:

    "+We(d.message+"",!0)+"
    ";return p?Promise.resolve(w):w}if(p)return Promise.reject(d);throw d}}}const pe=new rt;function xe(ue,v){return pe.parse(ue,v)}xe.options=xe.setOptions=function(ue){return pe.setOptions(ue),Ut(xe.defaults=pe.defaults),xe},xe.getDefaults=Ve,xe.defaults=G.defaults,xe.use=function(...ue){return pe.use(...ue),Ut(xe.defaults=pe.defaults),xe},xe.walkTokens=function(ue,v){return pe.walkTokens(ue,v)},xe.parseInline=pe.parseInline,xe.Parser=De,xe.parser=De.parse,xe.Renderer=ut,xe.TextRenderer=Nt,xe.Lexer=Oe,xe.lexer=Oe.lex,xe.Tokenizer=bt,xe.Hooks=vt,xe.parse=xe;const yt=xe.options,Ht=xe.setOptions,it=xe.use,ct=xe.walkTokens,St=xe.parseInline,nt=xe,Je=De.parse,sr=Oe.lex;G.Hooks=vt,G.Lexer=Oe,G.Marked=rt,G.Parser=De,G.Renderer=ut,G.TextRenderer=Nt,G.Tokenizer=bt,G.getDefaults=Ve,G.lexer=sr,G.marked=xe,G.options=yt,G.parse=nt,G.parseInline=St,G.parser=Je,G.setOptions=Ht,G.use=it,G.walkTokens=ct}),function(G,Ve){"object"==typeof exports&&"object"==typeof module?module.exports=Ve():"function"==typeof define&&define.amd?define([],Ve):"object"==typeof exports?exports.katex=Ve():G.katex=Ve()}(typeof self<"u"?self:this,function(){return function(){"use strict";var G={d:function(e,r){for(var t in r)G.o(r,t)&&!G.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o:function(e,r){return Object.prototype.hasOwnProperty.call(e,r)}},Ve={};G.d(Ve,{default:function(){return ei}});var Ut=function e(r,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n,i,l="KaTeX parse error: "+r,c=t&&t.loc;if(c&&c.start<=c.end){var f=c.lexer.input;l+=(n=c.start)===f.length?" at end of input: ":" at position "+(n+1)+": ";var b=f.slice(n,i=c.end).replace(/[^]/g,"$&\u0332");l+=(n>15?"\u2026"+f.slice(n-15,n):f.slice(0,n))+b+(i+15":">","<":"<",'"':""","'":"'"},ke=/[&><"']/g,Re=function e(r){return"ordgroup"===r.type||"color"===r.type?1===r.body.length?e(r.body[0]):r:"font"===r.type?e(r.body):r},he_contains=function(e,r){return-1!==e.indexOf(r)},he_deflt=function(e,r){return void 0===e?r:e},he_escape=function(e){return String(e).replace(ke,function(r){return Rt[r]})},he_hyphenate=function(e){return e.replace(Qt,"-$1").toLowerCase()},he_getBaseElem=Re,he_isCharacterBox=function(e){var r=Re(e);return"mathord"===r.type||"textord"===r.type||"atom"===r.type},We={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:function(e){return"#"+e}},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:function(e,r){return r.push(e),r}},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:function(e){return Math.max(0,e)},cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:function(e){return Math.max(0,e)},cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:function(e){return Math.max(0,e)},cli:"-e, --max-expand ",cliProcessor:function(e){return"Infinity"===e?1/0:parseInt(e)}},globalGroup:{type:"boolean",cli:!1}};function or(e){if(e.default)return e.default;var r=e.type,t=Array.isArray(r)?r[0]:r;if("string"!=typeof t)return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var ot=function(){function e(t){for(var n in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{},We)if(We.hasOwnProperty(n)){var i=We[n];this[n]=void 0!==t[n]?i.processor?i.processor(t[n]):t[n]:or(i)}}var r=e.prototype;return r.reportNonstrict=function(t,n,i){var l=this.strict;if("function"==typeof l&&(l=l(t,n,i)),l&&"ignore"!==l){if(!0===l||"error"===l)throw new j("LaTeX-incompatible input and strict mode is set to 'error': "+n+" ["+t+"]",i);"warn"===l?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+n+" ["+t+"]"):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+l+"': "+n+" ["+t+"]")}},r.useStrictBehavior=function(t,n,i){var l=this.strict;if("function"==typeof l)try{l=l(t,n,i)}catch{l="error"}return!(!l||"ignore"===l||!0!==l&&"error"!==l&&("warn"===l?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+n+" ["+t+"]"),1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+l+"': "+n+" ["+t+"]"),1)))},r.isTrusted=function(t){return t.url&&!t.protocol&&(t.protocol=function(e){var r=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=r?r[1]:"_relative"}(t.url)),!!("function"==typeof this.trust?this.trust(t):this.trust)},e}(),ve=function(){function e(t,n,i){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=i}var r=e.prototype;return r.sup=function(){return Qe[Ot[this.id]]},r.sub=function(){return Qe[lt[this.id]]},r.fracNum=function(){return Qe[_t[this.id]]},r.fracDen=function(){return Qe[kt[this.id]]},r.cramp=function(){return Qe[bt[this.id]]},r.text=function(){return Qe[se[this.id]]},r.isTight=function(){return this.size>=2},e}(),Qe=[new ve(0,0,!1),new ve(1,0,!0),new ve(2,1,!1),new ve(3,1,!0),new ve(4,2,!1),new ve(5,2,!0),new ve(6,3,!1),new ve(7,3,!0)],Ot=[4,5,4,5,6,7,6,7],lt=[5,5,5,5,7,7,7,7],_t=[2,3,4,5,6,7,6,7],kt=[3,3,5,5,7,7,7,7],bt=[1,1,3,3,5,5,7,7],se=[0,1,2,3,2,3,2,3],I={DISPLAY:Qe[0],TEXT:Qe[2],SCRIPT:Qe[4],SCRIPTSCRIPT:Qe[6]},Oe=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],ut=[];function Nt(e){for(var r=0;r=ut[r]&&e<=ut[r+1])return!0;return!1}Oe.forEach(function(e){return e.blocks.forEach(function(r){return ut.push.apply(ut,r)})});var vt={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},rt=function(){function e(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var r=e.prototype;return r.hasClass=function(t){return he_contains(this.classes,t)},r.toNode=function(){for(var t=document.createDocumentFragment(),n=0;n=5?0:t>=3?1:2]){var i=it[n]={cssEmPerMu:xe.quad[n]/18};for(var l in xe)xe.hasOwnProperty(l)&&(i[l]=xe[l][n])}return it[n]}(this.size)),this._fontMetrics},r.getColor=function(){return this.phantom?"transparent":this.color},e}();Je.BASESIZE=6;var sr=Je,ue={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},v={ex:!0,em:!0,mu:!0},p=function(e){return"string"!=typeof e&&(e=e.unit),e in ue||e in v||"ex"===e},d=function(e,r){var t;if(e.unit in ue)t=ue[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if("mu"===e.unit)t=r.fontMetrics().cssEmPerMu;else{var n;if(n=r.style.isTight()?r.havingStyle(r.style.text()):r,"ex"===e.unit)t=n.fontMetrics().xHeight;else{if("em"!==e.unit)throw new j("Invalid unit: '"+e.unit+"'");t=n.fontMetrics().quad}n!==r&&(t*=n.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*t,r.maxSize)},w=function(e){return+e.toFixed(4)+"em"},C=function(e){return e.filter(function(r){return r}).join(" ")},B=function(e,r,t){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=t||{},r){r.style.isTight()&&this.classes.push("mtight");var n=r.getColor();n&&(this.style.color=n)}},$=function(e){var r=document.createElement(e);for(var t in r.className=C(this.classes),this.style)this.style.hasOwnProperty(t)&&(r.style[t]=this.style[t]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&r.setAttribute(n,this.attributes[n]);for(var i=0;i"},te=function(){function e(t,n,i,l){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,B.call(this,t,i,l),this.children=n||[]}var r=e.prototype;return r.setAttribute=function(t,n){this.attributes[t]=n},r.hasClass=function(t){return he_contains(this.classes,t)},r.toNode=function(){return $.call(this,"span")},r.toMarkup=function(){return U.call(this,"span")},e}(),Q=function(){function e(t,n,i,l){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,B.call(this,n,l),this.children=i||[],this.setAttribute("href",t)}var r=e.prototype;return r.setAttribute=function(t,n){this.attributes[t]=n},r.hasClass=function(t){return he_contains(this.classes,t)},r.toNode=function(){return $.call(this,"a")},r.toMarkup=function(){return U.call(this,"a")},e}(),ye=function(){function e(t,n,i){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.style=i}var r=e.prototype;return r.hasClass=function(t){return he_contains(this.classes,t)},r.toNode=function(){var t=document.createElement("img");for(var n in t.src=this.src,t.alt=this.alt,t.className="mord",this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);return t},r.toMarkup=function(){var t=""+this.alt+""},e}(),ce={\u00ee:"\u0131\u0302",\u00ef:"\u0131\u0308",\u00ed:"\u0131\u0301",\u00ec:"\u0131\u0300"},we=function(){function e(t,n,i,l,c,f,b,A){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=n||0,this.depth=i||0,this.italic=l||0,this.skew=c||0,this.width=f||0,this.classes=b||[],this.style=A||{},this.maxFontSize=0;var q=function(L){for(var N=0;N=K[0]&&L<=K[1])return P.name}return null}(this.text.charCodeAt(0));q&&this.classes.push(q+"_fallback"),/[\xee\xef\xed\xec]/.test(this.text)&&(this.text=ce[this.text])}var r=e.prototype;return r.hasClass=function(t){return he_contains(this.classes,t)},r.toNode=function(){var t=document.createTextNode(this.text),n=null;for(var i in this.italic>0&&((n=document.createElement("span")).style.marginRight=w(this.italic)),this.classes.length>0&&((n=n||document.createElement("span")).className=C(this.classes)),this.style)this.style.hasOwnProperty(i)&&((n=n||document.createElement("span")).style[i]=this.style[i]);return n?(n.appendChild(t),n):t},r.toMarkup=function(){var t=!1,n="0&&(i+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(l)&&(i+=he_hyphenate(l)+":"+this.style[l]+";");i&&(t=!0,n+=' style="'+he_escape(i)+'"');var c=he_escape(this.text);return t?(n+=">",n+=c,n+=""):c},e}(),Ue=function(){function e(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}var r=e.prototype;return r.toNode=function(){var t=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);for(var i=0;i"},e}(),et=function(){function e(t,n){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=n}var r=e.prototype;return r.toNode=function(){var t=document.createElementNS("http://www.w3.org/2000/svg","path");return t.setAttribute("d",this.alternate?this.alternate:vt[this.pathName]),t},r.toMarkup=function(){return this.alternate?"":""},e}(),Fe=function(){function e(t){this.attributes=void 0,this.attributes=t||{}}var r=e.prototype;return r.toNode=function(){var t=document.createElementNS("http://www.w3.org/2000/svg","line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);return t},r.toMarkup=function(){var t=""},e}();function At(e){if(e instanceof we)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var Bt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Pt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},qt={math:{},text:{}},qe=qt;function a(e,r,t,n,i,l){qt[e][i]={font:r,group:t,replace:n},l&&n&&(qt[e][n]=qt[e][i])}var o="math",x="text",s="main",h="ams",F="accent-token",O="bin",le="close",ge="inner",ne="mathord",He="op-token",Ze="open",Xt="punct",S="rel",xt="spacing",z="textord";a(o,s,S,"\u2261","\\equiv",!0),a(o,s,S,"\u227a","\\prec",!0),a(o,s,S,"\u227b","\\succ",!0),a(o,s,S,"\u223c","\\sim",!0),a(o,s,S,"\u22a5","\\perp"),a(o,s,S,"\u2aaf","\\preceq",!0),a(o,s,S,"\u2ab0","\\succeq",!0),a(o,s,S,"\u2243","\\simeq",!0),a(o,s,S,"\u2223","\\mid",!0),a(o,s,S,"\u226a","\\ll",!0),a(o,s,S,"\u226b","\\gg",!0),a(o,s,S,"\u224d","\\asymp",!0),a(o,s,S,"\u2225","\\parallel"),a(o,s,S,"\u22c8","\\bowtie",!0),a(o,s,S,"\u2323","\\smile",!0),a(o,s,S,"\u2291","\\sqsubseteq",!0),a(o,s,S,"\u2292","\\sqsupseteq",!0),a(o,s,S,"\u2250","\\doteq",!0),a(o,s,S,"\u2322","\\frown",!0),a(o,s,S,"\u220b","\\ni",!0),a(o,s,S,"\u221d","\\propto",!0),a(o,s,S,"\u22a2","\\vdash",!0),a(o,s,S,"\u22a3","\\dashv",!0),a(o,s,S,"\u220b","\\owns"),a(o,s,Xt,".","\\ldotp"),a(o,s,Xt,"\u22c5","\\cdotp"),a(o,s,z,"#","\\#"),a(x,s,z,"#","\\#"),a(o,s,z,"&","\\&"),a(x,s,z,"&","\\&"),a(o,s,z,"\u2135","\\aleph",!0),a(o,s,z,"\u2200","\\forall",!0),a(o,s,z,"\u210f","\\hbar",!0),a(o,s,z,"\u2203","\\exists",!0),a(o,s,z,"\u2207","\\nabla",!0),a(o,s,z,"\u266d","\\flat",!0),a(o,s,z,"\u2113","\\ell",!0),a(o,s,z,"\u266e","\\natural",!0),a(o,s,z,"\u2663","\\clubsuit",!0),a(o,s,z,"\u2118","\\wp",!0),a(o,s,z,"\u266f","\\sharp",!0),a(o,s,z,"\u2662","\\diamondsuit",!0),a(o,s,z,"\u211c","\\Re",!0),a(o,s,z,"\u2661","\\heartsuit",!0),a(o,s,z,"\u2111","\\Im",!0),a(o,s,z,"\u2660","\\spadesuit",!0),a(o,s,z,"\xa7","\\S",!0),a(x,s,z,"\xa7","\\S"),a(o,s,z,"\xb6","\\P",!0),a(x,s,z,"\xb6","\\P"),a(o,s,z,"\u2020","\\dag"),a(x,s,z,"\u2020","\\dag"),a(x,s,z,"\u2020","\\textdagger"),a(o,s,z,"\u2021","\\ddag"),a(x,s,z,"\u2021","\\ddag"),a(x,s,z,"\u2021","\\textdaggerdbl"),a(o,s,le,"\u23b1","\\rmoustache",!0),a(o,s,Ze,"\u23b0","\\lmoustache",!0),a(o,s,le,"\u27ef","\\rgroup",!0),a(o,s,Ze,"\u27ee","\\lgroup",!0),a(o,s,O,"\u2213","\\mp",!0),a(o,s,O,"\u2296","\\ominus",!0),a(o,s,O,"\u228e","\\uplus",!0),a(o,s,O,"\u2293","\\sqcap",!0),a(o,s,O,"\u2217","\\ast"),a(o,s,O,"\u2294","\\sqcup",!0),a(o,s,O,"\u25ef","\\bigcirc",!0),a(o,s,O,"\u2219","\\bullet",!0),a(o,s,O,"\u2021","\\ddagger"),a(o,s,O,"\u2240","\\wr",!0),a(o,s,O,"\u2a3f","\\amalg"),a(o,s,O,"&","\\And"),a(o,s,S,"\u27f5","\\longleftarrow",!0),a(o,s,S,"\u21d0","\\Leftarrow",!0),a(o,s,S,"\u27f8","\\Longleftarrow",!0),a(o,s,S,"\u27f6","\\longrightarrow",!0),a(o,s,S,"\u21d2","\\Rightarrow",!0),a(o,s,S,"\u27f9","\\Longrightarrow",!0),a(o,s,S,"\u2194","\\leftrightarrow",!0),a(o,s,S,"\u27f7","\\longleftrightarrow",!0),a(o,s,S,"\u21d4","\\Leftrightarrow",!0),a(o,s,S,"\u27fa","\\Longleftrightarrow",!0),a(o,s,S,"\u21a6","\\mapsto",!0),a(o,s,S,"\u27fc","\\longmapsto",!0),a(o,s,S,"\u2197","\\nearrow",!0),a(o,s,S,"\u21a9","\\hookleftarrow",!0),a(o,s,S,"\u21aa","\\hookrightarrow",!0),a(o,s,S,"\u2198","\\searrow",!0),a(o,s,S,"\u21bc","\\leftharpoonup",!0),a(o,s,S,"\u21c0","\\rightharpoonup",!0),a(o,s,S,"\u2199","\\swarrow",!0),a(o,s,S,"\u21bd","\\leftharpoondown",!0),a(o,s,S,"\u21c1","\\rightharpoondown",!0),a(o,s,S,"\u2196","\\nwarrow",!0),a(o,s,S,"\u21cc","\\rightleftharpoons",!0),a(o,h,S,"\u226e","\\nless",!0),a(o,h,S,"\ue010","\\@nleqslant"),a(o,h,S,"\ue011","\\@nleqq"),a(o,h,S,"\u2a87","\\lneq",!0),a(o,h,S,"\u2268","\\lneqq",!0),a(o,h,S,"\ue00c","\\@lvertneqq"),a(o,h,S,"\u22e6","\\lnsim",!0),a(o,h,S,"\u2a89","\\lnapprox",!0),a(o,h,S,"\u2280","\\nprec",!0),a(o,h,S,"\u22e0","\\npreceq",!0),a(o,h,S,"\u22e8","\\precnsim",!0),a(o,h,S,"\u2ab9","\\precnapprox",!0),a(o,h,S,"\u2241","\\nsim",!0),a(o,h,S,"\ue006","\\@nshortmid"),a(o,h,S,"\u2224","\\nmid",!0),a(o,h,S,"\u22ac","\\nvdash",!0),a(o,h,S,"\u22ad","\\nvDash",!0),a(o,h,S,"\u22ea","\\ntriangleleft"),a(o,h,S,"\u22ec","\\ntrianglelefteq",!0),a(o,h,S,"\u228a","\\subsetneq",!0),a(o,h,S,"\ue01a","\\@varsubsetneq"),a(o,h,S,"\u2acb","\\subsetneqq",!0),a(o,h,S,"\ue017","\\@varsubsetneqq"),a(o,h,S,"\u226f","\\ngtr",!0),a(o,h,S,"\ue00f","\\@ngeqslant"),a(o,h,S,"\ue00e","\\@ngeqq"),a(o,h,S,"\u2a88","\\gneq",!0),a(o,h,S,"\u2269","\\gneqq",!0),a(o,h,S,"\ue00d","\\@gvertneqq"),a(o,h,S,"\u22e7","\\gnsim",!0),a(o,h,S,"\u2a8a","\\gnapprox",!0),a(o,h,S,"\u2281","\\nsucc",!0),a(o,h,S,"\u22e1","\\nsucceq",!0),a(o,h,S,"\u22e9","\\succnsim",!0),a(o,h,S,"\u2aba","\\succnapprox",!0),a(o,h,S,"\u2246","\\ncong",!0),a(o,h,S,"\ue007","\\@nshortparallel"),a(o,h,S,"\u2226","\\nparallel",!0),a(o,h,S,"\u22af","\\nVDash",!0),a(o,h,S,"\u22eb","\\ntriangleright"),a(o,h,S,"\u22ed","\\ntrianglerighteq",!0),a(o,h,S,"\ue018","\\@nsupseteqq"),a(o,h,S,"\u228b","\\supsetneq",!0),a(o,h,S,"\ue01b","\\@varsupsetneq"),a(o,h,S,"\u2acc","\\supsetneqq",!0),a(o,h,S,"\ue019","\\@varsupsetneqq"),a(o,h,S,"\u22ae","\\nVdash",!0),a(o,h,S,"\u2ab5","\\precneqq",!0),a(o,h,S,"\u2ab6","\\succneqq",!0),a(o,h,S,"\ue016","\\@nsubseteqq"),a(o,h,O,"\u22b4","\\unlhd"),a(o,h,O,"\u22b5","\\unrhd"),a(o,h,S,"\u219a","\\nleftarrow",!0),a(o,h,S,"\u219b","\\nrightarrow",!0),a(o,h,S,"\u21cd","\\nLeftarrow",!0),a(o,h,S,"\u21cf","\\nRightarrow",!0),a(o,h,S,"\u21ae","\\nleftrightarrow",!0),a(o,h,S,"\u21ce","\\nLeftrightarrow",!0),a(o,h,S,"\u25b3","\\vartriangle"),a(o,h,z,"\u210f","\\hslash"),a(o,h,z,"\u25bd","\\triangledown"),a(o,h,z,"\u25ca","\\lozenge"),a(o,h,z,"\u24c8","\\circledS"),a(o,h,z,"\xae","\\circledR"),a(x,h,z,"\xae","\\circledR"),a(o,h,z,"\u2221","\\measuredangle",!0),a(o,h,z,"\u2204","\\nexists"),a(o,h,z,"\u2127","\\mho"),a(o,h,z,"\u2132","\\Finv",!0),a(o,h,z,"\u2141","\\Game",!0),a(o,h,z,"\u2035","\\backprime"),a(o,h,z,"\u25b2","\\blacktriangle"),a(o,h,z,"\u25bc","\\blacktriangledown"),a(o,h,z,"\u25a0","\\blacksquare"),a(o,h,z,"\u29eb","\\blacklozenge"),a(o,h,z,"\u2605","\\bigstar"),a(o,h,z,"\u2222","\\sphericalangle",!0),a(o,h,z,"\u2201","\\complement",!0),a(o,h,z,"\xf0","\\eth",!0),a(x,s,z,"\xf0","\xf0"),a(o,h,z,"\u2571","\\diagup"),a(o,h,z,"\u2572","\\diagdown"),a(o,h,z,"\u25a1","\\square"),a(o,h,z,"\u25a1","\\Box"),a(o,h,z,"\u25ca","\\Diamond"),a(o,h,z,"\xa5","\\yen",!0),a(x,h,z,"\xa5","\\yen",!0),a(o,h,z,"\u2713","\\checkmark",!0),a(x,h,z,"\u2713","\\checkmark"),a(o,h,z,"\u2136","\\beth",!0),a(o,h,z,"\u2138","\\daleth",!0),a(o,h,z,"\u2137","\\gimel",!0),a(o,h,z,"\u03dd","\\digamma",!0),a(o,h,z,"\u03f0","\\varkappa"),a(o,h,Ze,"\u250c","\\@ulcorner",!0),a(o,h,le,"\u2510","\\@urcorner",!0),a(o,h,Ze,"\u2514","\\@llcorner",!0),a(o,h,le,"\u2518","\\@lrcorner",!0),a(o,h,S,"\u2266","\\leqq",!0),a(o,h,S,"\u2a7d","\\leqslant",!0),a(o,h,S,"\u2a95","\\eqslantless",!0),a(o,h,S,"\u2272","\\lesssim",!0),a(o,h,S,"\u2a85","\\lessapprox",!0),a(o,h,S,"\u224a","\\approxeq",!0),a(o,h,O,"\u22d6","\\lessdot"),a(o,h,S,"\u22d8","\\lll",!0),a(o,h,S,"\u2276","\\lessgtr",!0),a(o,h,S,"\u22da","\\lesseqgtr",!0),a(o,h,S,"\u2a8b","\\lesseqqgtr",!0),a(o,h,S,"\u2251","\\doteqdot"),a(o,h,S,"\u2253","\\risingdotseq",!0),a(o,h,S,"\u2252","\\fallingdotseq",!0),a(o,h,S,"\u223d","\\backsim",!0),a(o,h,S,"\u22cd","\\backsimeq",!0),a(o,h,S,"\u2ac5","\\subseteqq",!0),a(o,h,S,"\u22d0","\\Subset",!0),a(o,h,S,"\u228f","\\sqsubset",!0),a(o,h,S,"\u227c","\\preccurlyeq",!0),a(o,h,S,"\u22de","\\curlyeqprec",!0),a(o,h,S,"\u227e","\\precsim",!0),a(o,h,S,"\u2ab7","\\precapprox",!0),a(o,h,S,"\u22b2","\\vartriangleleft"),a(o,h,S,"\u22b4","\\trianglelefteq"),a(o,h,S,"\u22a8","\\vDash",!0),a(o,h,S,"\u22aa","\\Vvdash",!0),a(o,h,S,"\u2323","\\smallsmile"),a(o,h,S,"\u2322","\\smallfrown"),a(o,h,S,"\u224f","\\bumpeq",!0),a(o,h,S,"\u224e","\\Bumpeq",!0),a(o,h,S,"\u2267","\\geqq",!0),a(o,h,S,"\u2a7e","\\geqslant",!0),a(o,h,S,"\u2a96","\\eqslantgtr",!0),a(o,h,S,"\u2273","\\gtrsim",!0),a(o,h,S,"\u2a86","\\gtrapprox",!0),a(o,h,O,"\u22d7","\\gtrdot"),a(o,h,S,"\u22d9","\\ggg",!0),a(o,h,S,"\u2277","\\gtrless",!0),a(o,h,S,"\u22db","\\gtreqless",!0),a(o,h,S,"\u2a8c","\\gtreqqless",!0),a(o,h,S,"\u2256","\\eqcirc",!0),a(o,h,S,"\u2257","\\circeq",!0),a(o,h,S,"\u225c","\\triangleq",!0),a(o,h,S,"\u223c","\\thicksim"),a(o,h,S,"\u2248","\\thickapprox"),a(o,h,S,"\u2ac6","\\supseteqq",!0),a(o,h,S,"\u22d1","\\Supset",!0),a(o,h,S,"\u2290","\\sqsupset",!0),a(o,h,S,"\u227d","\\succcurlyeq",!0),a(o,h,S,"\u22df","\\curlyeqsucc",!0),a(o,h,S,"\u227f","\\succsim",!0),a(o,h,S,"\u2ab8","\\succapprox",!0),a(o,h,S,"\u22b3","\\vartriangleright"),a(o,h,S,"\u22b5","\\trianglerighteq"),a(o,h,S,"\u22a9","\\Vdash",!0),a(o,h,S,"\u2223","\\shortmid"),a(o,h,S,"\u2225","\\shortparallel"),a(o,h,S,"\u226c","\\between",!0),a(o,h,S,"\u22d4","\\pitchfork",!0),a(o,h,S,"\u221d","\\varpropto"),a(o,h,S,"\u25c0","\\blacktriangleleft"),a(o,h,S,"\u2234","\\therefore",!0),a(o,h,S,"\u220d","\\backepsilon"),a(o,h,S,"\u25b6","\\blacktriangleright"),a(o,h,S,"\u2235","\\because",!0),a(o,h,S,"\u22d8","\\llless"),a(o,h,S,"\u22d9","\\gggtr"),a(o,h,O,"\u22b2","\\lhd"),a(o,h,O,"\u22b3","\\rhd"),a(o,h,S,"\u2242","\\eqsim",!0),a(o,s,S,"\u22c8","\\Join"),a(o,h,S,"\u2251","\\Doteq",!0),a(o,h,O,"\u2214","\\dotplus",!0),a(o,h,O,"\u2216","\\smallsetminus"),a(o,h,O,"\u22d2","\\Cap",!0),a(o,h,O,"\u22d3","\\Cup",!0),a(o,h,O,"\u2a5e","\\doublebarwedge",!0),a(o,h,O,"\u229f","\\boxminus",!0),a(o,h,O,"\u229e","\\boxplus",!0),a(o,h,O,"\u22c7","\\divideontimes",!0),a(o,h,O,"\u22c9","\\ltimes",!0),a(o,h,O,"\u22ca","\\rtimes",!0),a(o,h,O,"\u22cb","\\leftthreetimes",!0),a(o,h,O,"\u22cc","\\rightthreetimes",!0),a(o,h,O,"\u22cf","\\curlywedge",!0),a(o,h,O,"\u22ce","\\curlyvee",!0),a(o,h,O,"\u229d","\\circleddash",!0),a(o,h,O,"\u229b","\\circledast",!0),a(o,h,O,"\u22c5","\\centerdot"),a(o,h,O,"\u22ba","\\intercal",!0),a(o,h,O,"\u22d2","\\doublecap"),a(o,h,O,"\u22d3","\\doublecup"),a(o,h,O,"\u22a0","\\boxtimes",!0),a(o,h,S,"\u21e2","\\dashrightarrow",!0),a(o,h,S,"\u21e0","\\dashleftarrow",!0),a(o,h,S,"\u21c7","\\leftleftarrows",!0),a(o,h,S,"\u21c6","\\leftrightarrows",!0),a(o,h,S,"\u21da","\\Lleftarrow",!0),a(o,h,S,"\u219e","\\twoheadleftarrow",!0),a(o,h,S,"\u21a2","\\leftarrowtail",!0),a(o,h,S,"\u21ab","\\looparrowleft",!0),a(o,h,S,"\u21cb","\\leftrightharpoons",!0),a(o,h,S,"\u21b6","\\curvearrowleft",!0),a(o,h,S,"\u21ba","\\circlearrowleft",!0),a(o,h,S,"\u21b0","\\Lsh",!0),a(o,h,S,"\u21c8","\\upuparrows",!0),a(o,h,S,"\u21bf","\\upharpoonleft",!0),a(o,h,S,"\u21c3","\\downharpoonleft",!0),a(o,s,S,"\u22b6","\\origof",!0),a(o,s,S,"\u22b7","\\imageof",!0),a(o,h,S,"\u22b8","\\multimap",!0),a(o,h,S,"\u21ad","\\leftrightsquigarrow",!0),a(o,h,S,"\u21c9","\\rightrightarrows",!0),a(o,h,S,"\u21c4","\\rightleftarrows",!0),a(o,h,S,"\u21a0","\\twoheadrightarrow",!0),a(o,h,S,"\u21a3","\\rightarrowtail",!0),a(o,h,S,"\u21ac","\\looparrowright",!0),a(o,h,S,"\u21b7","\\curvearrowright",!0),a(o,h,S,"\u21bb","\\circlearrowright",!0),a(o,h,S,"\u21b1","\\Rsh",!0),a(o,h,S,"\u21ca","\\downdownarrows",!0),a(o,h,S,"\u21be","\\upharpoonright",!0),a(o,h,S,"\u21c2","\\downharpoonright",!0),a(o,h,S,"\u21dd","\\rightsquigarrow",!0),a(o,h,S,"\u21dd","\\leadsto"),a(o,h,S,"\u21db","\\Rrightarrow",!0),a(o,h,S,"\u21be","\\restriction"),a(o,s,z,"\u2018","`"),a(o,s,z,"$","\\$"),a(x,s,z,"$","\\$"),a(x,s,z,"$","\\textdollar"),a(o,s,z,"%","\\%"),a(x,s,z,"%","\\%"),a(o,s,z,"_","\\_"),a(x,s,z,"_","\\_"),a(x,s,z,"_","\\textunderscore"),a(o,s,z,"\u2220","\\angle",!0),a(o,s,z,"\u221e","\\infty",!0),a(o,s,z,"\u2032","\\prime"),a(o,s,z,"\u25b3","\\triangle"),a(o,s,z,"\u0393","\\Gamma",!0),a(o,s,z,"\u0394","\\Delta",!0),a(o,s,z,"\u0398","\\Theta",!0),a(o,s,z,"\u039b","\\Lambda",!0),a(o,s,z,"\u039e","\\Xi",!0),a(o,s,z,"\u03a0","\\Pi",!0),a(o,s,z,"\u03a3","\\Sigma",!0),a(o,s,z,"\u03a5","\\Upsilon",!0),a(o,s,z,"\u03a6","\\Phi",!0),a(o,s,z,"\u03a8","\\Psi",!0),a(o,s,z,"\u03a9","\\Omega",!0),a(o,s,z,"A","\u0391"),a(o,s,z,"B","\u0392"),a(o,s,z,"E","\u0395"),a(o,s,z,"Z","\u0396"),a(o,s,z,"H","\u0397"),a(o,s,z,"I","\u0399"),a(o,s,z,"K","\u039a"),a(o,s,z,"M","\u039c"),a(o,s,z,"N","\u039d"),a(o,s,z,"O","\u039f"),a(o,s,z,"P","\u03a1"),a(o,s,z,"T","\u03a4"),a(o,s,z,"X","\u03a7"),a(o,s,z,"\xac","\\neg",!0),a(o,s,z,"\xac","\\lnot"),a(o,s,z,"\u22a4","\\top"),a(o,s,z,"\u22a5","\\bot"),a(o,s,z,"\u2205","\\emptyset"),a(o,h,z,"\u2205","\\varnothing"),a(o,s,ne,"\u03b1","\\alpha",!0),a(o,s,ne,"\u03b2","\\beta",!0),a(o,s,ne,"\u03b3","\\gamma",!0),a(o,s,ne,"\u03b4","\\delta",!0),a(o,s,ne,"\u03f5","\\epsilon",!0),a(o,s,ne,"\u03b6","\\zeta",!0),a(o,s,ne,"\u03b7","\\eta",!0),a(o,s,ne,"\u03b8","\\theta",!0),a(o,s,ne,"\u03b9","\\iota",!0),a(o,s,ne,"\u03ba","\\kappa",!0),a(o,s,ne,"\u03bb","\\lambda",!0),a(o,s,ne,"\u03bc","\\mu",!0),a(o,s,ne,"\u03bd","\\nu",!0),a(o,s,ne,"\u03be","\\xi",!0),a(o,s,ne,"\u03bf","\\omicron",!0),a(o,s,ne,"\u03c0","\\pi",!0),a(o,s,ne,"\u03c1","\\rho",!0),a(o,s,ne,"\u03c3","\\sigma",!0),a(o,s,ne,"\u03c4","\\tau",!0),a(o,s,ne,"\u03c5","\\upsilon",!0),a(o,s,ne,"\u03d5","\\phi",!0),a(o,s,ne,"\u03c7","\\chi",!0),a(o,s,ne,"\u03c8","\\psi",!0),a(o,s,ne,"\u03c9","\\omega",!0),a(o,s,ne,"\u03b5","\\varepsilon",!0),a(o,s,ne,"\u03d1","\\vartheta",!0),a(o,s,ne,"\u03d6","\\varpi",!0),a(o,s,ne,"\u03f1","\\varrho",!0),a(o,s,ne,"\u03c2","\\varsigma",!0),a(o,s,ne,"\u03c6","\\varphi",!0),a(o,s,O,"\u2217","*",!0),a(o,s,O,"+","+"),a(o,s,O,"\u2212","-",!0),a(o,s,O,"\u22c5","\\cdot",!0),a(o,s,O,"\u2218","\\circ",!0),a(o,s,O,"\xf7","\\div",!0),a(o,s,O,"\xb1","\\pm",!0),a(o,s,O,"\xd7","\\times",!0),a(o,s,O,"\u2229","\\cap",!0),a(o,s,O,"\u222a","\\cup",!0),a(o,s,O,"\u2216","\\setminus",!0),a(o,s,O,"\u2227","\\land"),a(o,s,O,"\u2228","\\lor"),a(o,s,O,"\u2227","\\wedge",!0),a(o,s,O,"\u2228","\\vee",!0),a(o,s,z,"\u221a","\\surd"),a(o,s,Ze,"\u27e8","\\langle",!0),a(o,s,Ze,"\u2223","\\lvert"),a(o,s,Ze,"\u2225","\\lVert"),a(o,s,le,"?","?"),a(o,s,le,"!","!"),a(o,s,le,"\u27e9","\\rangle",!0),a(o,s,le,"\u2223","\\rvert"),a(o,s,le,"\u2225","\\rVert"),a(o,s,S,"=","="),a(o,s,S,":",":"),a(o,s,S,"\u2248","\\approx",!0),a(o,s,S,"\u2245","\\cong",!0),a(o,s,S,"\u2265","\\ge"),a(o,s,S,"\u2265","\\geq",!0),a(o,s,S,"\u2190","\\gets"),a(o,s,S,">","\\gt",!0),a(o,s,S,"\u2208","\\in",!0),a(o,s,S,"\ue020","\\@not"),a(o,s,S,"\u2282","\\subset",!0),a(o,s,S,"\u2283","\\supset",!0),a(o,s,S,"\u2286","\\subseteq",!0),a(o,s,S,"\u2287","\\supseteq",!0),a(o,h,S,"\u2288","\\nsubseteq",!0),a(o,h,S,"\u2289","\\nsupseteq",!0),a(o,s,S,"\u22a8","\\models"),a(o,s,S,"\u2190","\\leftarrow",!0),a(o,s,S,"\u2264","\\le"),a(o,s,S,"\u2264","\\leq",!0),a(o,s,S,"<","\\lt",!0),a(o,s,S,"\u2192","\\rightarrow",!0),a(o,s,S,"\u2192","\\to"),a(o,h,S,"\u2271","\\ngeq",!0),a(o,h,S,"\u2270","\\nleq",!0),a(o,s,xt,"\xa0","\\ "),a(o,s,xt,"\xa0","\\space"),a(o,s,xt,"\xa0","\\nobreakspace"),a(x,s,xt,"\xa0","\\ "),a(x,s,xt,"\xa0"," "),a(x,s,xt,"\xa0","\\space"),a(x,s,xt,"\xa0","\\nobreakspace"),a(o,s,xt,null,"\\nobreak"),a(o,s,xt,null,"\\allowbreak"),a(o,s,Xt,",",","),a(o,s,Xt,";",";"),a(o,h,O,"\u22bc","\\barwedge",!0),a(o,h,O,"\u22bb","\\veebar",!0),a(o,s,O,"\u2299","\\odot",!0),a(o,s,O,"\u2295","\\oplus",!0),a(o,s,O,"\u2297","\\otimes",!0),a(o,s,z,"\u2202","\\partial",!0),a(o,s,O,"\u2298","\\oslash",!0),a(o,h,O,"\u229a","\\circledcirc",!0),a(o,h,O,"\u22a1","\\boxdot",!0),a(o,s,O,"\u25b3","\\bigtriangleup"),a(o,s,O,"\u25bd","\\bigtriangledown"),a(o,s,O,"\u2020","\\dagger"),a(o,s,O,"\u22c4","\\diamond"),a(o,s,O,"\u22c6","\\star"),a(o,s,O,"\u25c3","\\triangleleft"),a(o,s,O,"\u25b9","\\triangleright"),a(o,s,Ze,"{","\\{"),a(x,s,z,"{","\\{"),a(x,s,z,"{","\\textbraceleft"),a(o,s,le,"}","\\}"),a(x,s,z,"}","\\}"),a(x,s,z,"}","\\textbraceright"),a(o,s,Ze,"{","\\lbrace"),a(o,s,le,"}","\\rbrace"),a(o,s,Ze,"[","\\lbrack",!0),a(x,s,z,"[","\\lbrack",!0),a(o,s,le,"]","\\rbrack",!0),a(x,s,z,"]","\\rbrack",!0),a(o,s,Ze,"(","\\lparen",!0),a(o,s,le,")","\\rparen",!0),a(x,s,z,"<","\\textless",!0),a(x,s,z,">","\\textgreater",!0),a(o,s,Ze,"\u230a","\\lfloor",!0),a(o,s,le,"\u230b","\\rfloor",!0),a(o,s,Ze,"\u2308","\\lceil",!0),a(o,s,le,"\u2309","\\rceil",!0),a(o,s,z,"\\","\\backslash"),a(o,s,z,"\u2223","|"),a(o,s,z,"\u2223","\\vert"),a(x,s,z,"|","\\textbar",!0),a(o,s,z,"\u2225","\\|"),a(o,s,z,"\u2225","\\Vert"),a(x,s,z,"\u2225","\\textbardbl"),a(x,s,z,"~","\\textasciitilde"),a(x,s,z,"\\","\\textbackslash"),a(x,s,z,"^","\\textasciicircum"),a(o,s,S,"\u2191","\\uparrow",!0),a(o,s,S,"\u21d1","\\Uparrow",!0),a(o,s,S,"\u2193","\\downarrow",!0),a(o,s,S,"\u21d3","\\Downarrow",!0),a(o,s,S,"\u2195","\\updownarrow",!0),a(o,s,S,"\u21d5","\\Updownarrow",!0),a(o,s,He,"\u2210","\\coprod"),a(o,s,He,"\u22c1","\\bigvee"),a(o,s,He,"\u22c0","\\bigwedge"),a(o,s,He,"\u2a04","\\biguplus"),a(o,s,He,"\u22c2","\\bigcap"),a(o,s,He,"\u22c3","\\bigcup"),a(o,s,He,"\u222b","\\int"),a(o,s,He,"\u222b","\\intop"),a(o,s,He,"\u222c","\\iint"),a(o,s,He,"\u222d","\\iiint"),a(o,s,He,"\u220f","\\prod"),a(o,s,He,"\u2211","\\sum"),a(o,s,He,"\u2a02","\\bigotimes"),a(o,s,He,"\u2a01","\\bigoplus"),a(o,s,He,"\u2a00","\\bigodot"),a(o,s,He,"\u222e","\\oint"),a(o,s,He,"\u222f","\\oiint"),a(o,s,He,"\u2230","\\oiiint"),a(o,s,He,"\u2a06","\\bigsqcup"),a(o,s,He,"\u222b","\\smallint"),a(x,s,ge,"\u2026","\\textellipsis"),a(o,s,ge,"\u2026","\\mathellipsis"),a(x,s,ge,"\u2026","\\ldots",!0),a(o,s,ge,"\u2026","\\ldots",!0),a(o,s,ge,"\u22ef","\\@cdots",!0),a(o,s,ge,"\u22f1","\\ddots",!0),a(o,s,z,"\u22ee","\\varvdots"),a(o,s,F,"\u02ca","\\acute"),a(o,s,F,"\u02cb","\\grave"),a(o,s,F,"\xa8","\\ddot"),a(o,s,F,"~","\\tilde"),a(o,s,F,"\u02c9","\\bar"),a(o,s,F,"\u02d8","\\breve"),a(o,s,F,"\u02c7","\\check"),a(o,s,F,"^","\\hat"),a(o,s,F,"\u20d7","\\vec"),a(o,s,F,"\u02d9","\\dot"),a(o,s,F,"\u02da","\\mathring"),a(o,s,ne,"\ue131","\\@imath"),a(o,s,ne,"\ue237","\\@jmath"),a(o,s,z,"\u0131","\u0131"),a(o,s,z,"\u0237","\u0237"),a(x,s,z,"\u0131","\\i",!0),a(x,s,z,"\u0237","\\j",!0),a(x,s,z,"\xdf","\\ss",!0),a(x,s,z,"\xe6","\\ae",!0),a(x,s,z,"\u0153","\\oe",!0),a(x,s,z,"\xf8","\\o",!0),a(x,s,z,"\xc6","\\AE",!0),a(x,s,z,"\u0152","\\OE",!0),a(x,s,z,"\xd8","\\O",!0),a(x,s,F,"\u02ca","\\'"),a(x,s,F,"\u02cb","\\`"),a(x,s,F,"\u02c6","\\^"),a(x,s,F,"\u02dc","\\~"),a(x,s,F,"\u02c9","\\="),a(x,s,F,"\u02d8","\\u"),a(x,s,F,"\u02d9","\\."),a(x,s,F,"\xb8","\\c"),a(x,s,F,"\u02da","\\r"),a(x,s,F,"\u02c7","\\v"),a(x,s,F,"\xa8",'\\"'),a(x,s,F,"\u02dd","\\H"),a(x,s,F,"\u25ef","\\textcircled");var Jt={"--":!0,"---":!0,"``":!0,"''":!0};a(x,s,z,"\u2013","--",!0),a(x,s,z,"\u2013","\\textendash"),a(x,s,z,"\u2014","---",!0),a(x,s,z,"\u2014","\\textemdash"),a(x,s,z,"\u2018","`",!0),a(x,s,z,"\u2018","\\textquoteleft"),a(x,s,z,"\u2019","'",!0),a(x,s,z,"\u2019","\\textquoteright"),a(x,s,z,"\u201c","``",!0),a(x,s,z,"\u201c","\\textquotedblleft"),a(x,s,z,"\u201d","''",!0),a(x,s,z,"\u201d","\\textquotedblright"),a(o,s,z,"\xb0","\\degree",!0),a(x,s,z,"\xb0","\\degree"),a(x,s,z,"\xb0","\\textdegree",!0),a(o,s,z,"\xa3","\\pounds"),a(o,s,z,"\xa3","\\mathsterling",!0),a(x,s,z,"\xa3","\\pounds"),a(x,s,z,"\xa3","\\textsterling",!0),a(o,h,z,"\u2720","\\maltese"),a(x,h,z,"\u2720","\\maltese");for(var cr=0;cr<14;cr++){var yr='0123456789/@."'.charAt(cr);a(o,s,z,yr,yr)}for(var kr=0;kr<25;kr++){var Tr='0123456789!@*()-=+";:?/.,'.charAt(kr);a(x,s,z,Tr,Tr)}for(var er="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Yt=0;Yt<52;Yt++){var hr=er.charAt(Yt);a(o,s,ne,hr,hr),a(x,s,z,hr,hr)}a(o,h,z,"C","\u2102"),a(x,h,z,"C","\u2102"),a(o,h,z,"H","\u210d"),a(x,h,z,"H","\u210d"),a(o,h,z,"N","\u2115"),a(x,h,z,"N","\u2115"),a(o,h,z,"P","\u2119"),a(x,h,z,"P","\u2119"),a(o,h,z,"Q","\u211a"),a(x,h,z,"Q","\u211a"),a(o,h,z,"R","\u211d"),a(x,h,z,"R","\u211d"),a(o,h,z,"Z","\u2124"),a(x,h,z,"Z","\u2124"),a(o,s,ne,"h","\u210e"),a(x,s,ne,"h","\u210e");for(var Ee="",ht=0;ht<52;ht++){var Ye=er.charAt(ht);a(o,s,ne,Ye,Ee=String.fromCharCode(55349,56320+ht)),a(x,s,z,Ye,Ee),a(o,s,ne,Ye,Ee=String.fromCharCode(55349,56372+ht)),a(x,s,z,Ye,Ee),a(o,s,ne,Ye,Ee=String.fromCharCode(55349,56424+ht)),a(x,s,z,Ye,Ee),a(o,s,ne,Ye,Ee=String.fromCharCode(55349,56580+ht)),a(x,s,z,Ye,Ee),a(o,s,ne,Ye,Ee=String.fromCharCode(55349,56684+ht)),a(x,s,z,Ye,Ee),a(o,s,ne,Ye,Ee=String.fromCharCode(55349,56736+ht)),a(x,s,z,Ye,Ee),a(o,s,ne,Ye,Ee=String.fromCharCode(55349,56788+ht)),a(x,s,z,Ye,Ee),a(o,s,ne,Ye,Ee=String.fromCharCode(55349,56840+ht)),a(x,s,z,Ye,Ee),a(o,s,ne,Ye,Ee=String.fromCharCode(55349,56944+ht)),a(x,s,z,Ye,Ee),ht<26&&(a(o,s,ne,Ye,Ee=String.fromCharCode(55349,56632+ht)),a(x,s,z,Ye,Ee),a(o,s,ne,Ye,Ee=String.fromCharCode(55349,56476+ht)),a(x,s,z,Ye,Ee))}a(o,s,ne,"k",Ee="\u{1d55c}"),a(x,s,z,"k",Ee);for(var tr=0;tr<10;tr++){var jt=tr.toString();a(o,s,ne,jt,Ee=String.fromCharCode(55349,57294+tr)),a(x,s,z,jt,Ee),a(o,s,ne,jt,Ee=String.fromCharCode(55349,57314+tr)),a(x,s,z,jt,Ee),a(o,s,ne,jt,Ee=String.fromCharCode(55349,57324+tr)),a(x,s,z,jt,Ee),a(o,s,ne,jt,Ee=String.fromCharCode(55349,57334+tr)),a(x,s,z,jt,Ee)}for(var y=0;y<3;y++){var u="\xd0\xde\xfe".charAt(y);a(o,s,ne,u,u),a(x,s,z,u,u)}var g=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],k=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],T=function(e,r,t){return qe[t][e]&&qe[t][e].replace&&(e=qe[t][e].replace),{value:e,metrics:Ht(e,r,t)}},_=function(e,r,t,n,i){var l,c=T(e,r,t),f=c.metrics;if(e=c.value,f){var b=f.italic;("text"===t||n&&"mathit"===n.font)&&(b=0),l=new we(e,f.height,f.depth,b,f.skew,f.width,i)}else typeof console<"u"&&console.warn("No character metrics for '"+e+"' in style '"+r+"' and mode '"+t+"'"),l=new we(e,0,0,0,0,0,i);if(n){l.maxFontSize=n.sizeMultiplier,n.style.isTight()&&l.classes.push("mtight");var A=n.getColor();A&&(l.style.color=A)}return l},E=function(e,r){if(C(e.classes)!==C(r.classes)||e.skew!==r.skew||e.maxFontSize!==r.maxFontSize)return!1;if(1===e.classes.length){var t=e.classes[0];if("mbin"===t||"mord"===t)return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==r.style[n])return!1;for(var i in r.style)if(r.style.hasOwnProperty(i)&&e.style[i]!==r.style[i])return!1;return!0},H=function(e){for(var r=0,t=0,n=0,i=0;ir&&(r=l.height),l.depth>t&&(t=l.depth),l.maxFontSize>n&&(n=l.maxFontSize)}e.height=r,e.depth=t,e.maxFontSize=n},V=function(e,r,t,n){var i=new te(e,r,t,n);return H(i),i},ie=function(e,r,t,n){return new te(e,r,t,n)},fe=function(e){var r=new rt(e);return H(r),r},R=function(e,r,t){var n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}return n+"-"+("textbf"===r&&"textit"===t?"BoldItalic":"textbf"===r?"Bold":"textit"===r?"Italic":"Regular")},Y={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},J={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},M={fontMap:Y,makeSymbol:_,mathsym:function(e,r,t,n){return void 0===n&&(n=[]),"boldsymbol"===t.font&&T(e,"Main-Bold",r).metrics?_(e,"Main-Bold",r,t,n.concat(["mathbf"])):"\\"===e||"main"===qe[r][e].font?_(e,"Main-Regular",r,t,n):_(e,"AMS-Regular",r,t,n.concat(["amsrm"]))},makeSpan:V,makeSvgSpan:ie,makeLineSpan:function(e,r,t){var n=V([e],[],r);return n.height=Math.max(t||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),n.style.borderBottomWidth=w(n.height),n.maxFontSize=1,n},makeAnchor:function(e,r,t,n){var i=new Q(e,r,t,n);return H(i),i},makeFragment:fe,wrapFragment:function(e,r){return e instanceof rt?V([],[e],r):e},makeVList:function(e,r){for(var t=function(Be){if("individualShift"===Be.positionType){for(var st=Be.children,ft=[st[0]],gr=-st[0].shift-st[0].elem.depth,Kt=gr,Mt=1;Mt0)return _(i,b,n,r,l.concat(A));if(f){var L,N;if("boldsymbol"===f){var P="textord"!==t&&T(i,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"};L=P.fontName,N=[P.fontClass]}else c?(L=Y[f].fontName,N=[f]):(L=R(f,r.fontWeight,r.fontShape),N=[f,r.fontWeight,r.fontShape]);if(T(i,L,n).metrics)return _(i,L,n,r,l.concat(N));if(Jt.hasOwnProperty(i)&&"Typewriter"===L.slice(0,10)){for(var Z=[],K=0;K0&&(c.push(Vt(f,r)),f=[]),c.push(i[b]));f.length>0&&c.push(Vt(f,r)),t?((l=Vt(ae(t,r,!0))).classes=["tag"],c.push(l)):n&&c.push(n);var q=at(["katex-html"],c);if(q.setAttribute("aria-hidden","true"),l){var L=l.children[0];L.style.height=w(q.height+q.depth),q.depth&&(L.style.verticalAlign=w(-q.depth))}return q}function x0(e){return new rt(e)}var $t=function(){function e(t,n,i){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=i||[]}var r=e.prototype;return r.setAttribute=function(t,n){this.attributes[t]=n},r.getAttribute=function(t){return this.attributes[t]},r.toNode=function(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=C(this.classes));for(var i=0;i0&&(t+=' class ="'+he_escape(C(this.classes))+'"'),t+=">";for(var i=0;i"},r.toText=function(){return this.children.map(function(t){return t.toText()}).join("")},e}(),Mr=function(){function e(t){this.text=void 0,this.text=t}var r=e.prototype;return r.toNode=function(){return document.createTextNode(this.text)},r.toMarkup=function(){return he_escape(this.toText())},r.toText=function(){return this.text},e}(),W={MathNode:$t,TextNode:Mr,SpaceNode:function(){function e(t){this.width=void 0,this.character=void 0,this.width=t,this.character=t>=.05555&&t<=.05556?"\u200a":t>=.1666&&t<=.1667?"\u2009":t>=.2222&&t<=.2223?"\u2005":t>=.2777&&t<=.2778?"\u2005\u200a":t>=-.05556&&t<=-.05555?"\u200a\u2063":t>=-.1667&&t<=-.1666?"\u2009\u2063":t>=-.2223&&t<=-.2222?"\u205f\u2063":t>=-.2778&&t<=-.2777?"\u2005\u2063":null}var r=e.prototype;return r.toNode=function(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",w(this.width)),t},r.toMarkup=function(){return this.character?""+this.character+"":''},r.toText=function(){return this.character?this.character:" "},e}(),newDocumentFragment:x0},Gt=function(e,r,t){return!qe[r][e]||!qe[r][e].replace||55349===e.charCodeAt(0)||Jt.hasOwnProperty(e)&&t&&(t.fontFamily&&"tt"===t.fontFamily.slice(4,6)||t.font&&"tt"===t.font.slice(4,6))||(e=qe[r][e].replace),new W.TextNode(e)},Xr=function(e){return 1===e.length?e[0]:new W.MathNode("mrow",e)},Wr=function(e,r){if("texttt"===r.fontFamily)return"monospace";if("textsf"===r.fontFamily)return"textit"===r.fontShape&&"textbf"===r.fontWeight?"sans-serif-bold-italic":"textit"===r.fontShape?"sans-serif-italic":"textbf"===r.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===r.fontShape&&"textbf"===r.fontWeight)return"bold-italic";if("textit"===r.fontShape)return"italic";if("textbf"===r.fontWeight)return"bold";var t=r.font;if(!t||"mathnormal"===t)return null;var n=e.mode;if("mathit"===t)return"italic";if("boldsymbol"===t)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===t)return"bold";if("mathbb"===t)return"double-struck";if("mathfrak"===t)return"fraktur";if("mathscr"===t||"mathcal"===t)return"script";if("mathsf"===t)return"sans-serif";if("mathtt"===t)return"monospace";var i=e.text;return he_contains(["\\imath","\\jmath"],i)?null:(qe[n][i]&&qe[n][i].replace&&(i=qe[n][i].replace),Ht(i,M.fontMap[t].fontName,n)?M.fontMap[t].variant:null)},Tt=function(e,r,t){if(1===e.length){var n=Ge(e[0],r);return t&&n instanceof $t&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var i,l=[],c=0;c0&&(P.text=P.text.slice(0,1)+"\u0338"+P.text.slice(1),l.pop())}}}l.push(f),i=f}return l},pr=function(e,r,t){return Xr(Tt(e,r,t))},Ge=function(e,r){if(!e)return new W.MathNode("mrow");if(Dt[e.type])return Dt[e.type](e,r);throw new j("Got group of unknown type: '"+e.type+"'")};function w0(e,r,t,n,i){var l,c=Tt(e,t);l=1===c.length&&c[0]instanceof $t&&he_contains(["mrow","mtable"],c[0].type)?c[0]:new W.MathNode("mrow",c);var f=new W.MathNode("annotation",[new W.TextNode(r)]);f.setAttribute("encoding","application/x-tex");var b=new W.MathNode("semantics",[l,f]),A=new W.MathNode("math",[b]);return A.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&A.setAttribute("display","block"),M.makeSpan([i?"katex":"katex-mathml"],[A])}var k0=function(e){return new sr({style:e.displayMode?I.DISPLAY:I.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},S0=function(e,r){if(r.displayMode){var t=["katex-display"];r.leqno&&t.push("leqno"),r.fleqn&&t.push("fleqn"),e=M.makeSpan(t,[e])}return e},_n={widehat:"^",widecheck:"\u02c7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23df",overbrace:"\u23de",overgroup:"\u23e0",undergroup:"\u23e1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},Nn={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},qr=function(e){var r=new W.MathNode("mo",[new W.TextNode(_n[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},Er=function(e,r){var t=function(){var c=4e5,f=e.label.slice(1);if(he_contains(["widehat","widecheck","widetilde","utilde"],f)){var b,A,q,L="ordgroup"===(de=e.base).type?de.body.length:1;if(L>5)"widehat"===f||"widecheck"===f?(b=420,c=2364,q=.42,A=f+"4"):(b=312,c=2340,q=.34,A="tilde4");else{var N=[1,1,2,2,3,3][L];"widehat"===f||"widecheck"===f?(c=[0,1062,2364,2364,2364][N],b=[0,239,300,360,420][N],q=[0,.24,.3,.3,.36,.42][N],A=f+N):(c=[0,600,1033,2339,2340][N],b=[0,260,286,306,312][N],q=[0,.26,.286,.3,.306,.34][N],A="tilde"+N)}var P=new et(A),Z=new Ue([P],{width:"100%",height:w(q),viewBox:"0 0 "+c+" "+b,preserveAspectRatio:"none"});return{span:M.makeSvgSpan([],[Z],r),minWidth:0,height:q}}var K,oe,de,be=[],Me=Nn[f],Ne=Me[0],Ce=Me[1],ze=Me[2],_e=ze/1e3,Xe=Ne.length;if(1===Xe)K=["hide-tail"],oe=[Me[3]];else if(2===Xe)K=["halfarrow-left","halfarrow-right"],oe=["xMinYMin","xMaxYMin"];else{if(3!==Xe)throw new Error("Correct katexImagesData or update code here to support\n "+Xe+" children.");K=["brace-left","brace-center","brace-right"],oe=["xMinYMin","xMidYMin","xMaxYMin"]}for(var Ke=0;Ke0&&(n.style.minWidth=w(i)),n};function Ae(e,r){if(!e||e.type!==r)throw new Error("Expected node of type "+r+", but got "+(e?"node of type "+e.type:String(e)));return e}function Yr(e){var r=Ir(e);if(!r)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return r}function Ir(e){return e&&("atom"===e.type||Pt.hasOwnProperty(e.type))?e:null}var Zr=function(e,r){var t,n,i;e&&"supsub"===e.type?(t=(n=Ae(e.base,"accent")).base,e.base=t,i=function(oe){if(oe instanceof te)return oe;throw new Error("Expected span but got "+String(oe)+".")}(Te(e,r)),e.base=n):t=(n=Ae(e,"accent")).base;var l=Te(t,r.havingCrampedStyle()),c=0;if(n.isShifty&&he_isCharacterBox(t)){var f=he_getBaseElem(t);c=At(Te(f,r.havingCrampedStyle())).skew}var b,A="\\c"===n.label,q=A?l.height+l.depth:Math.min(l.height,r.fontMetrics().xHeight);if(n.isStretchy)b=Er(n,r),b=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"elem",elem:b,wrapperClasses:["svg-align"],wrapperStyle:c>0?{width:"calc(100% - "+w(2*c)+")",marginLeft:w(2*c)}:void 0}]},r);else{var L,N;"\\vec"===n.label?(L=M.staticSvg("vec",r),N=M.svgData.vec[1]):((L=At(L=M.makeOrd({mode:n.mode,text:n.label},r,"textord"))).italic=0,N=L.width,A&&(q+=L.depth)),b=M.makeSpan(["accent-body"],[L]);var P="\\textcircled"===n.label;P&&(b.classes.push("accent-full"),q=l.height);var Z=c;P||(Z-=N/2),b.style.left=w(Z),"\\textcircled"===n.label&&(b.style.top=".2em"),b=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:-q},{type:"elem",elem:b}]},r)}var K=M.makeSpan(["mord","accent"],[b],r);return i?(i.children[0]=K,i.height=Math.max(K.height,i.height),i.classes[0]="mord",i):K},A0=function(e,r){var t=e.isStretchy?qr(e.label):new W.MathNode("mo",[Gt(e.label,e.mode)]),n=new W.MathNode("mover",[Ge(e.base,r),t]);return n.setAttribute("accent","true"),n},qn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(e){return"\\"+e}).join("|"));ee({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,r){var t=Lt(r[0]),n=!qn.test(e.funcName);return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:!n||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName,base:t}},htmlBuilder:Zr,mathmlBuilder:A0}),ee({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:function(e,r){var t=r[0],n=e.parser.mode;return"math"===n&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:Zr,mathmlBuilder:A0}),ee({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,r){return{type:"accentUnder",mode:e.parser.mode,label:e.funcName,base:r[0]}},htmlBuilder:function(e,r){var t=Te(e.base,r),n=Er(e,r),l=M.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:"\\utilde"===e.label?.12:0},{type:"elem",elem:t}]},r);return M.makeSpan(["mord","accentunder"],[l],r)},mathmlBuilder:function(e,r){var t=qr(e.label),n=new W.MathNode("munder",[Ge(e.base,r),t]);return n.setAttribute("accentunder","true"),n}});var Lr=function(e){var r=new W.MathNode("mpadded",e?[e]:[]);return r.setAttribute("width","+0.6em"),r.setAttribute("lspace","0.3em"),r};ee({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,r,t){return{type:"xArrow",mode:e.parser.mode,label:e.funcName,body:r[0],below:t[0]}},htmlBuilder:function(e,r){var t,n=r.style,i=r.havingStyle(n.sup()),l=M.wrapFragment(Te(e.body,i,r),r),c="\\x"===e.label.slice(0,2)?"x":"cd";l.classes.push(c+"-arrow-pad"),e.below&&(i=r.havingStyle(n.sub()),(t=M.wrapFragment(Te(e.below,i,r),r)).classes.push(c+"-arrow-pad"));var f,b=Er(e,r),A=-r.fontMetrics().axisHeight+.5*b.height,q=-r.fontMetrics().axisHeight-.5*b.height-.111;if((l.depth>.25||"\\xleftequilibrium"===e.label)&&(q-=l.depth),t){var L=-r.fontMetrics().axisHeight+t.height+.5*b.height+.111;f=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:q},{type:"elem",elem:b,shift:A},{type:"elem",elem:t,shift:L}]},r)}else f=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:q},{type:"elem",elem:b,shift:A}]},r);return f.children[0].children[0].children[1].classes.push("svg-align"),M.makeSpan(["mrel","x-arrow"],[f],r)},mathmlBuilder:function(e,r){var t,n=qr(e.label);if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var i=Lr(Ge(e.body,r));if(e.below){var l=Lr(Ge(e.below,r));t=new W.MathNode("munderover",[n,l,i])}else t=new W.MathNode("mover",[n,i])}else if(e.below){var c=Lr(Ge(e.below,r));t=new W.MathNode("munder",[n,c])}else t=Lr(),t=new W.MathNode("mover",[n,t]);return t}});var En=M.makeSpan;function z0(e,r){var t=ae(e.body,r,!0);return En([e.mclass],t,r)}function T0(e,r){var t,n=Tt(e.body,r);return"minner"===e.mclass?t=new W.MathNode("mpadded",n):"mord"===e.mclass?e.isCharacterBox?(t=n[0]).type="mi":t=new W.MathNode("mi",n):(e.isCharacterBox?(t=n[0]).type="mo":t=new W.MathNode("mo",n),"mbin"===e.mclass?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):"mpunct"===e.mclass?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(t.attributes.lspace="0em",t.attributes.rspace="0em"):"minner"===e.mclass&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}ee({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler:function(e,r){var i=r[0];return{type:"mclass",mode:e.parser.mode,mclass:"m"+e.funcName.slice(5),body:je(i),isCharacterBox:he_isCharacterBox(i)}},htmlBuilder:z0,mathmlBuilder:T0});var Rr=function(e){var r="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==r.type||"bin"!==r.family&&"rel"!==r.family?"mord":"m"+r.family};ee({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(e,r){return{type:"mclass",mode:e.parser.mode,mclass:Rr(r[0]),body:je(r[1]),isCharacterBox:he_isCharacterBox(r[1])}}}),ee({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(e,r){var t,n=e.parser,i=e.funcName,l=r[1],c=r[0];t="\\stackrel"!==i?Rr(l):"mrel";var f={type:"op",mode:l.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==i,body:je(l)},b={type:"supsub",mode:c.mode,base:f,sup:"\\underset"===i?null:c,sub:"\\underset"===i?c:null};return{type:"mclass",mode:n.mode,mclass:t,body:[b],isCharacterBox:he_isCharacterBox(b)}},htmlBuilder:z0,mathmlBuilder:T0}),ee({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler:function(e,r){return{type:"pmb",mode:e.parser.mode,mclass:Rr(r[0]),body:je(r[0])}},htmlBuilder:function(e,r){var t=ae(e.body,r,!0),n=M.makeSpan([e.mclass],t,r);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder:function(e,r){var t=Tt(e.body,r),n=new W.MathNode("mstyle",t);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var In={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},M0=function(e){return"textord"===e.type&&"@"===e.text};function Ln(e,r,t){var n=In[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(n,[r[0]],[r[1]]);case"\\uparrow":case"\\downarrow":var i={type:"atom",text:n,mode:"math",family:"rel"},l={type:"ordgroup",mode:"math",body:[t.callFunction("\\\\cdleft",[r[0]],[]),t.callFunction("\\Big",[i],[]),t.callFunction("\\\\cdright",[r[1]],[])]};return t.callFunction("\\\\cdparent",[l],[]);case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return t.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}ee({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler:function(e,r){return{type:"cdlabel",mode:e.parser.mode,side:e.funcName.slice(4),label:r[0]}},htmlBuilder:function(e,r){var t=r.havingStyle(r.style.sup()),n=M.wrapFragment(Te(e.label,t,r),r);return n.classes.push("cd-label-"+e.side),n.style.bottom=w(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder:function(e,r){var t=new W.MathNode("mrow",[Ge(e.label,r)]);return(t=new W.MathNode("mpadded",[t])).setAttribute("width","0"),"left"===e.side&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),(t=new W.MathNode("mstyle",[t])).setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}}),ee({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler:function(e,r){return{type:"cdlabelparent",mode:e.parser.mode,fragment:r[0]}},htmlBuilder:function(e,r){var t=M.wrapFragment(Te(e.fragment,r),r);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder:function(e,r){return new W.MathNode("mrow",[Ge(e.fragment,r)])}}),ee({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(e,r){for(var t=e.parser,n=Ae(r[0],"ordgroup").body,i="",l=0;l=1114111)throw new j("\\@char with invalid code point "+i);return f<=65535?c=String.fromCharCode(f):(f-=65536,c=String.fromCharCode(55296+(f>>10),56320+(1023&f))),{type:"textord",mode:t.mode,text:c}}});var C0=function(e,r){var t=ae(e.body,r.withColor(e.color),!1);return M.makeFragment(t)},_0=function(e,r){var t=Tt(e.body,r.withColor(e.color)),n=new W.MathNode("mstyle",t);return n.setAttribute("mathcolor",e.color),n};ee({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler:function(e,r){var t=e.parser,n=Ae(r[0],"color-token").color;return{type:"color",mode:t.mode,color:n,body:je(r[1])}},htmlBuilder:C0,mathmlBuilder:_0}),ee({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler:function(e,r){var t=e.parser,n=e.breakOnTokenText,i=Ae(r[0],"color-token").color;t.gullet.macros.set("\\current@color",i);var l=t.parseExpression(!0,n);return{type:"color",mode:t.mode,color:i,body:l}},htmlBuilder:C0,mathmlBuilder:_0}),ee({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler:function(e,r,t){var n=e.parser,i="["===n.gullet.future().text?n.parseSizeGroup(!0):null,l=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:l,size:i&&Ae(i,"size").value}},htmlBuilder:function(e,r){var t=M.makeSpan(["mspace"],[],r);return e.newLine&&(t.classes.push("newline"),e.size&&(t.style.marginTop=w(d(e.size,r)))),t},mathmlBuilder:function(e,r){var t=new W.MathNode("mspace");return e.newLine&&(t.setAttribute("linebreak","newline"),e.size&&t.setAttribute("height",w(d(e.size,r)))),t}});var Kr={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},N0=function(e){var r=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(r))throw new j("Expected a control sequence",e);return r},B0=function(e,r,t,n){var i=e.gullet.macros.get(t.text);null==i&&(t.noexpand=!0,i={tokens:[t],numArgs:0,unexpandable:!e.gullet.isExpandable(t.text)}),e.gullet.macros.set(r,i,n)};ee({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler:function(e){var r=e.parser,t=e.funcName;r.consumeSpaces();var n=r.fetch();if(Kr[n.text])return"\\global"!==t&&"\\\\globallong"!==t||(n.text=Kr[n.text]),Ae(r.parseFunction(),"internal");throw new j("Invalid token after macro prefix",n)}}),ee({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var r=e.parser,t=e.funcName,n=r.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new j("Expected a control sequence",n);for(var l,c=0,f=[[]];"{"!==r.gullet.future().text;)if("#"===(n=r.gullet.popToken()).text){if("{"===r.gullet.future().text){l=r.gullet.future(),f[c].push("{");break}if(n=r.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new j('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==c+1)throw new j('Argument number "'+n.text+'" out of order');c++,f.push([])}else{if("EOF"===n.text)throw new j("Expected a macro definition");f[c].push(n.text)}var b=r.gullet.consumeArg().tokens;return l&&b.unshift(l),"\\edef"!==t&&"\\xdef"!==t||(b=r.gullet.expandTokens(b)).reverse(),r.gullet.macros.set(i,{tokens:b,numArgs:c,delimiters:f},t===Kr[t]),{type:"internal",mode:r.mode}}}),ee({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var r=e.parser,t=e.funcName,n=N0(r.gullet.popToken());r.gullet.consumeSpaces();var l,c,i=("="===(c=(l=r).gullet.popToken()).text&&" "===(c=l.gullet.popToken()).text&&(c=l.gullet.popToken()),c);return B0(r,n,i,"\\\\globallet"===t),{type:"internal",mode:r.mode}}}),ee({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var r=e.parser,t=e.funcName,n=N0(r.gullet.popToken()),i=r.gullet.popToken(),l=r.gullet.popToken();return B0(r,n,l,"\\\\globalfuture"===t),r.gullet.pushToken(l),r.gullet.pushToken(i),{type:"internal",mode:r.mode}}});var Cr=function(e,r,t){var n=Ht(qe.math[e]&&qe.math[e].replace||e,r,t);if(!n)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return n},Qr=function(e,r,t,n){var i=t.havingBaseStyle(r),l=M.makeSpan(n.concat(i.sizingClasses(t)),[e],t),c=i.sizeMultiplier/t.sizeMultiplier;return l.height*=c,l.depth*=c,l.maxFontSize=i.sizeMultiplier,l},q0=function(e,r,t){var n=r.havingBaseStyle(t),i=(1-r.sizeMultiplier/n.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=w(i),e.height-=i,e.depth+=i},E0=function(e,r,t,n,i,l){var c=M.makeSymbol(e,"Size"+r+"-Regular",i,n),f=Qr(M.makeSpan(["delimsizing","size"+r],[c],n),I.TEXT,n,l);return t&&q0(f,n,I.TEXT),f},Jr=function(e,r,t){return{type:"elem",elem:M.makeSpan(["delimsizinginner","Size1-Regular"===r?"delim-size1":"delim-size4"],[M.makeSpan([],[M.makeSymbol(e,r,t)])])}},e0=function(e,r,t){var n=pe["Size4-Regular"][e.charCodeAt(0)]?pe["Size4-Regular"][e.charCodeAt(0)][4]:pe["Size1-Regular"][e.charCodeAt(0)][4],i=new et("inner",function(f,b){switch(f){case"\u239c":return"M291 0 H417 V"+b+" H291z M291 0 H417 V"+b+" H291z";case"\u2223":return"M145 0 H188 V"+b+" H145z M145 0 H188 V"+b+" H145z";case"\u2225":return"M145 0 H188 V"+b+" H145z M145 0 H188 V"+b+" H145zM367 0 H410 V"+b+" H367z M367 0 H410 V"+b+" H367z";case"\u239f":return"M457 0 H583 V"+b+" H457z M457 0 H583 V"+b+" H457z";case"\u23a2":return"M319 0 H403 V"+b+" H319z M319 0 H403 V"+b+" H319z";case"\u23a5":return"M263 0 H347 V"+b+" H263z M263 0 H347 V"+b+" H263z";case"\u23aa":return"M384 0 H504 V"+b+" H384z M384 0 H504 V"+b+" H384z";case"\u23d0":return"M312 0 H355 V"+b+" H312z M312 0 H355 V"+b+" H312z";case"\u2016":return"M257 0 H300 V"+b+" H257z M257 0 H300 V"+b+" H257zM478 0 H521 V"+b+" H478z M478 0 H521 V"+b+" H478z";default:return""}}(e,Math.round(1e3*r))),l=new Ue([i],{width:w(n),height:w(r),style:"width:"+w(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),c=M.makeSvgSpan([],[l],t);return c.height=r,c.style.height=w(r),c.style.width=w(n),{type:"elem",elem:c}},Or={type:"kern",size:-.008},Rn=["|","\\lvert","\\rvert","\\vert"],On=["\\|","\\lVert","\\rVert","\\Vert"],I0=function(e,r,t,n,i,l){var c,f,b,A,q="",L=0;c=b=A=e,f=null;var N="Size1-Regular";"\\uparrow"===e?b=A="\u23d0":"\\Uparrow"===e?b=A="\u2016":"\\downarrow"===e?c=b="\u23d0":"\\Downarrow"===e?c=b="\u2016":"\\updownarrow"===e?(c="\\uparrow",b="\u23d0",A="\\downarrow"):"\\Updownarrow"===e?(c="\\Uparrow",b="\u2016",A="\\Downarrow"):he_contains(Rn,e)?(b="\u2223",q="vert",L=333):he_contains(On,e)?(b="\u2225",q="doublevert",L=556):"["===e||"\\lbrack"===e?(c="\u23a1",b="\u23a2",A="\u23a3",N="Size4-Regular",q="lbrack",L=667):"]"===e||"\\rbrack"===e?(c="\u23a4",b="\u23a5",A="\u23a6",N="Size4-Regular",q="rbrack",L=667):"\\lfloor"===e||"\u230a"===e?(b=c="\u23a2",A="\u23a3",N="Size4-Regular",q="lfloor",L=667):"\\lceil"===e||"\u2308"===e?(c="\u23a1",b=A="\u23a2",N="Size4-Regular",q="lceil",L=667):"\\rfloor"===e||"\u230b"===e?(b=c="\u23a5",A="\u23a6",N="Size4-Regular",q="rfloor",L=667):"\\rceil"===e||"\u2309"===e?(c="\u23a4",b=A="\u23a5",N="Size4-Regular",q="rceil",L=667):"("===e||"\\lparen"===e?(c="\u239b",b="\u239c",A="\u239d",N="Size4-Regular",q="lparen",L=875):")"===e||"\\rparen"===e?(c="\u239e",b="\u239f",A="\u23a0",N="Size4-Regular",q="rparen",L=875):"\\{"===e||"\\lbrace"===e?(c="\u23a7",f="\u23a8",A="\u23a9",b="\u23aa",N="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(c="\u23ab",f="\u23ac",A="\u23ad",b="\u23aa",N="Size4-Regular"):"\\lgroup"===e||"\u27ee"===e?(c="\u23a7",A="\u23a9",b="\u23aa",N="Size4-Regular"):"\\rgroup"===e||"\u27ef"===e?(c="\u23ab",A="\u23ad",b="\u23aa",N="Size4-Regular"):"\\lmoustache"===e||"\u23b0"===e?(c="\u23a7",A="\u23ad",b="\u23aa",N="Size4-Regular"):"\\rmoustache"!==e&&"\u23b1"!==e||(c="\u23ab",A="\u23a9",b="\u23aa",N="Size4-Regular");var P=Cr(c,N,i),Z=P.height+P.depth,K=Cr(b,N,i),oe=K.height+K.depth,de=Cr(A,N,i),be=de.height+de.depth,Me=0,Ne=1;if(null!==f){var Ce=Cr(f,N,i);Me=Ce.height+Ce.depth,Ne=2}var ze=Z+be+Me,_e=ze+Math.max(0,Math.ceil((r-ze)/(Ne*oe)))*Ne*oe,Xe=n.fontMetrics().axisHeight;t&&(Xe*=n.sizeMultiplier);var Ke=_e/2-Xe,Be=[];if(q.length>0){var st=_e-Z-be,ft=Math.round(1e3*_e),gr=function(vr,$e){switch(vr){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+$e+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+$e+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+$e+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+$e+" v1759 h84z";case"vert":return"M145 15 v585 v"+$e+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-$e+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+$e+" v585 h43z";case"doublevert":return"M145 15 v585 v"+$e+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-$e+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+$e+" v585 h43z\nM367 15 v585 v"+$e+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-$e+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+$e+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+$e+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+$e+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+$e+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+$e+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+$e+" v602 h84z\nM403 1759 V0 H319 V1759 v"+$e+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+$e+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+$e+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+($e+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+($e+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+($e+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+($e+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(q,Math.round(1e3*st)),Kt=new et(q,gr),Mt=(L/1e3).toFixed(3)+"em",ur=(ft/1e3).toFixed(3)+"em",Br=new Ue([Kt],{width:Mt,height:ur,viewBox:"0 0 "+L+" "+ft}),Ct=M.makeSvgSpan([],[Br],n);Ct.height=ft/1e3,Ct.style.width=Mt,Ct.style.height=ur,Be.push({type:"elem",elem:Ct})}else{if(Be.push(Jr(A,N,i)),Be.push(Or),null===f)Be.push(e0(b,_e-Z-be+.016,n));else{var gt=(_e-Z-be-Me)/2+.016;Be.push(e0(b,gt,n)),Be.push(Or),Be.push(Jr(f,N,i)),Be.push(Or),Be.push(e0(b,gt,n))}Be.push(Or),Be.push(Jr(c,N,i))}var ar=n.havingBaseStyle(I.TEXT),wr=M.makeVList({positionType:"bottom",positionData:Ke,children:Be},ar);return Qr(M.makeSpan(["delimsizing","mult"],[wr],ar),I.TEXT,n,l)},r0=function(e,r,t,n,i){var l=function(b,A,q){A*=1e3;var N,L="";switch(b){case"sqrtMain":L="M95,"+(622+(N=A)+80)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+N/2.075+" -"+N+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+N)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+N)+" 80h400000v"+(40+N)+"h-400000z";break;case"sqrtSize1":L=function(N,P){return"M263,"+(601+N+80)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+N/2.084+" -"+N+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+N)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+N)+" 80h400000v"+(40+N)+"h-400000z"}(A);break;case"sqrtSize2":L=function(N,P){return"M983 "+(10+N+80)+"\nl"+N/3.13+" -"+N+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+N)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+N)+" 80h400000v"+(40+N)+"h-400000z"}(A);break;case"sqrtSize3":L=function(N,P){return"M424,"+(2398+N+80)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+N/4.223+" -"+N+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+N)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+N)+" 80\nh400000v"+(40+N)+"h-400000z"}(A);break;case"sqrtSize4":L=function(N,P){return"M473,"+(2713+N+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+N/5.298+" -"+N+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+N)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+N)+" 80h400000v"+(40+N)+"H1017.7z"}(A);break;case"sqrtTall":L=function(N,P,Z){return"M702 "+(N+80)+"H400000"+(40+N)+"\nH742v"+(Z-54-80-N)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 80H400000v"+(40+N)+"H742z"}(A,0,q)}return L}(e,n,t),c=new et(e,l),f=new Ue([c],{width:"400em",height:w(r),viewBox:"0 0 400000 "+t,preserveAspectRatio:"xMinYMin slice"});return M.makeSvgSpan(["hide-tail"],[f],i)},L0=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Hn=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1"],R0=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],_r=[0,1.2,1.8,2.4,3],Pn=[{type:"small",style:I.SCRIPTSCRIPT},{type:"small",style:I.SCRIPT},{type:"small",style:I.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],jn=[{type:"small",style:I.SCRIPTSCRIPT},{type:"small",style:I.SCRIPT},{type:"small",style:I.TEXT},{type:"stack"}],O0=[{type:"small",style:I.SCRIPTSCRIPT},{type:"small",style:I.SCRIPT},{type:"small",style:I.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Dn=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},H0=function(e,r,t,n){for(var i=Math.min(2,3-n.style.size);ir)return t[i]}return t[t.length-1]},P0=function(e,r,t,n,i,l){var c;"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),c=he_contains(R0,e)?Pn:he_contains(L0,e)?O0:jn;var A,q,L,P,Z,K,f=H0(e,r,c,n);return"small"===f.type?(A=f.style,q=t,P=l,Z=M.makeSymbol(e,"Main-Regular",i,L=n),K=Qr(Z,A,L,P),q&&q0(K,L,A),K):"large"===f.type?E0(e,f.size,t,n,i,l):I0(e,r,t,n,i,l)},lr={sqrtImage:function(e,r){var t,n,i=r.havingBaseSizing(),l=H0("\\surd",e*i.sizeMultiplier,O0,i),c=i.sizeMultiplier,f=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),b=0,A=0,q=0;return"small"===l.type?(e<1?c=1:e<1.4&&(c=.7),A=(1+f)/c,(t=r0("sqrtMain",b=(1+f+.08)/c,q=1e3+1e3*f+80,f,r)).style.minWidth="0.853em",n=.833/c):"large"===l.type?(A=(_r[l.size]+f)/c,(t=r0("sqrtSize"+l.size,b=(_r[l.size]+f+.08)/c,q=1080*_r[l.size],f,r)).style.minWidth="1.02em",n=1/c):(b=e+f+.08,A=e+f,q=Math.floor(1e3*e+f)+80,(t=r0("sqrtTall",b,q,f,r)).style.minWidth="0.742em",n=1.056),t.height=A,t.style.height=w(b),{span:t,advanceWidth:n,ruleWidth:(r.fontMetrics().sqrtRuleThickness+f)*c}},sizedDelim:function(e,r,t,n,i){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),he_contains(L0,e)||he_contains(R0,e))return E0(e,r,!1,t,n,i);if(he_contains(Hn,e))return I0(e,_r[r],!1,t,n,i);throw new j("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:_r,customSizedDelim:P0,leftRightDelim:function(e,r,t,n,i,l){var c=n.fontMetrics().axisHeight*n.sizeMultiplier,f=5/n.fontMetrics().ptPerEm,b=Math.max(r-c,t+c),A=Math.max(b/500*901,2*b-f);return P0(e,A,!0,n,i,l)}},j0={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Fn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Hr(e,r){var t=Ir(e);if(t&&he_contains(Fn,t.text))return t;throw new j(t?"Invalid delimiter '"+t.text+"' after '"+r.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function D0(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ee({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:function(e,r){var t=Hr(r[0],e);return{type:"delimsizing",mode:e.parser.mode,size:j0[e.funcName].size,mclass:j0[e.funcName].mclass,delim:t.text}},htmlBuilder:function(e,r){return"."===e.delim?M.makeSpan([e.mclass]):lr.sizedDelim(e.delim,e.size,r,e.mode,[e.mclass])},mathmlBuilder:function(e){var r=[];"."!==e.delim&&r.push(Gt(e.delim,e.mode));var t=new W.MathNode("mo",r);t.setAttribute("fence","mopen"===e.mclass||"mclose"===e.mclass?"true":"false"),t.setAttribute("stretchy","true");var n=w(lr.sizeToMaxHeight[e.size]);return t.setAttribute("minsize",n),t.setAttribute("maxsize",n),t}}),ee({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:function(e,r){var t=e.parser.gullet.macros.get("\\current@color");if(t&&"string"!=typeof t)throw new j("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Hr(r[0],e).text,color:t}}}),ee({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:function(e,r){var t=Hr(r[0],e),n=e.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var l=Ae(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:t.text,right:l.delim,rightColor:l.color}},htmlBuilder:function(e,r){D0(e);for(var t,n,i=ae(e.body,r,!0,["mopen","mclose"]),l=0,c=0,f=!1,b=0;b-1?"mpadded":"menclose",[Ge(e.body,r)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(t=r.fontMetrics().fboxsep*r.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*t+"pt"),n.setAttribute("height","+"+2*t+"pt"),n.setAttribute("lspace",t+"pt"),n.setAttribute("voffset",t+"pt"),"\\fcolorbox"===e.label){var i=Math.max(r.fontMetrics().fboxrule,r.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};ee({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler:function(e,r,t){var n=e.parser,i=e.funcName,l=Ae(r[0],"color-token").color;return{type:"enclose",mode:n.mode,label:i,backgroundColor:l,body:r[1]}},htmlBuilder:n0,mathmlBuilder:i0}),ee({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler:function(e,r,t){var n=e.parser,i=e.funcName,l=Ae(r[0],"color-token").color,c=Ae(r[1],"color-token").color;return{type:"enclose",mode:n.mode,label:i,backgroundColor:c,borderColor:l,body:r[2]}},htmlBuilder:n0,mathmlBuilder:i0}),ee({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,r){return{type:"enclose",mode:e.parser.mode,label:"\\fbox",body:r[0]}}}),ee({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler:function(e,r){return{type:"enclose",mode:e.parser.mode,label:e.funcName,body:r[0]}},htmlBuilder:n0,mathmlBuilder:i0}),ee({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:function(e,r){return{type:"enclose",mode:e.parser.mode,label:"\\angl",body:r[0]}}});var F0={};function rr(e){for(var r=e.type,t=e.names,l=e.htmlBuilder,c=e.mathmlBuilder,f={type:r,numArgs:e.props.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:e.handler},b=0;b1||!q)&&K.pop(),de.length0&&(de+=.25),b.push({pos:de,isDashed:$r[Gr]})}for(be(l[0]),t=0;t0&&(Ce<(Ke+=oe)&&(Ce=Ke),Ke=0),e.addJot&&(Ce+=P),ze.height=Ne,ze.depth=Ce,ze.pos=de+=Ne,de+=Ce+Ke,f[t]=ze,be(l[t+1])}var Be,st,ft=de/2+r.fontMetrics().axisHeight,gr=e.cols||[],Kt=[],Mt=[];if(e.tags&&e.tags.some(function($r){return $r}))for(t=0;t=c)){var Dr=void 0;(n>0||e.hskipBeforeAndAfter)&&0!==(Dr=he_deflt(gt.pregap,L))&&((Be=M.makeSpan(["arraycolsep"],[])).style.width=w(Dr),Kt.push(Be));var Ar=[];for(t=0;t0){for(var ri=M.makeLineSpan("hline",r,A),ni=M.makeLineSpan("hdashline",r,A),v0=[{type:"elem",elem:f,shift:0}];b.length>0;){var Tn=b.pop(),Mn=Tn.pos-ft;v0.push(Tn.isDashed?{type:"elem",elem:ni,shift:Mn}:{type:"elem",elem:ri,shift:Mn})}f=M.makeVList({positionType:"individualShift",children:v0},r)}if(0===Mt.length)return M.makeSpan(["mord"],[f],r);var y0=M.makeVList({positionType:"individualShift",children:Mt},r);return y0=M.makeSpan(["tag"],[y0],r),M.makeFragment([f,y0])},Vn={c:"center ",l:"left ",r:"right "},ir=function(e,r){for(var t=[],n=new W.MathNode("mtd",[],["mtr-glue"]),i=new W.MathNode("mtd",[],["mml-eqn-num"]),l=0;l0){var P=e.cols,Z="",K=!1,oe=0,de=P.length;"separator"===P[0].type&&(L+="top ",oe=1),"separator"===P[P.length-1].type&&(L+="bottom ",de-=1);for(var be=oe;be0?"left ":"",L+=_e[_e.length-1].length>0?"right ":"";for(var Xe=1;Xe<_e.length-1;Xe++)ze+=0===_e[Xe].length?"none ":_e[Xe][0]?"dashed ":"solid ";return/[sd]/.test(ze)&&A.setAttribute("rowlines",ze.trim()),""!==L&&(A=new W.MathNode("menclose",[A])).setAttribute("notation",L.trim()),e.arraystretch&&e.arraystretch<1&&(A=new W.MathNode("mstyle",[A])).setAttribute("scriptlevel","1"),A},G0=function(e,r){-1===e.envName.indexOf("ed")&&Pr(e);var t,n=[],i=e.envName.indexOf("at")>-1?"alignat":"align",l="split"===e.envName,c=dr(e.parser,{cols:n,addJot:!0,autoTag:l?void 0:a0(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:l?2:void 0,leqno:e.parser.settings.leqno},"display"),f=0,b={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&"ordgroup"===r[0].type){for(var A="",q=0;q0&&L&&(Z=1),n[N]={type:"align",align:P,pregap:Z,postgap:0}}return c.colSeparationType=L?"align":"alignat",c};rr({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,r){var t=(Ir(r[0])?[r[0]]:Ae(r[0],"ordgroup").body).map(function(i){var l=Yr(i).text;if(-1!=="lcr".indexOf(l))return{type:"align",align:l};if("|"===l)return{type:"separator",separator:"|"};if(":"===l)return{type:"separator",separator:":"};throw new j("Unknown column alignment: "+l,i)});return dr(e.parser,{cols:t,hskipBeforeAndAfter:!0,maxNumCols:t.length},o0(e.envName))},htmlBuilder:nr,mathmlBuilder:ir}),rr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler:function(e){var r={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],t="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if("*"===e.envName.charAt(e.envName.length-1)){var i=e.parser;if(i.consumeSpaces(),"["===i.fetch().text){if(i.consume(),i.consumeSpaces(),t=i.fetch().text,-1==="lcr".indexOf(t))throw new j("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:t}]}}var l=dr(e.parser,n,o0(e.envName)),c=Math.max.apply(Math,[0].concat(l.body.map(function(f){return f.length})));return l.cols=new Array(c).fill({type:"align",align:t}),r?{type:"leftright",mode:e.mode,body:[l],left:r[0],right:r[1],rightColor:void 0}:l},htmlBuilder:nr,mathmlBuilder:ir}),rr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var r=dr(e.parser,{arraystretch:.5},"script");return r.colSeparationType="small",r},htmlBuilder:nr,mathmlBuilder:ir}),rr({type:"array",names:["subarray"],props:{numArgs:1},handler:function(e,r){var t=(Ir(r[0])?[r[0]]:Ae(r[0],"ordgroup").body).map(function(i){var l=Yr(i).text;if(-1!=="lc".indexOf(l))return{type:"align",align:l};throw new j("Unknown column alignment: "+l,i)});if(t.length>1)throw new j("{subarray} can contain only one column");var n={cols:t,hskipBeforeAndAfter:!1,arraystretch:.5};if((n=dr(e.parser,n,"script")).body.length>0&&n.body[0].length>1)throw new j("{subarray} can contain only one column");return n},htmlBuilder:nr,mathmlBuilder:ir}),rr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(e){var r=dr(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},o0(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:nr,mathmlBuilder:ir}),rr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:G0,htmlBuilder:nr,mathmlBuilder:ir}),rr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler:function(e){he_contains(["gather","gather*"],e.envName)&&Pr(e);var r={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:a0(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return dr(e.parser,r,"display")},htmlBuilder:nr,mathmlBuilder:ir}),rr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:G0,htmlBuilder:nr,mathmlBuilder:ir}),rr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler:function(e){Pr(e);var r={autoTag:a0(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return dr(e.parser,r,"display")},htmlBuilder:nr,mathmlBuilder:ir}),rr({type:"array",names:["CD"],props:{numArgs:0},handler:function(e){return Pr(e),function(r){var t=[];for(r.gullet.beginGroup(),r.gullet.macros.set("\\cr","\\\\\\relax"),r.gullet.beginGroup();;){t.push(r.parseExpression(!1,"\\\\")),r.gullet.endGroup(),r.gullet.beginGroup();var n=r.fetch().text;if("&"!==n&&"\\\\"!==n){if("\\end"===n){0===t[t.length-1].length&&t.pop();break}throw new j("Expected \\\\ or \\cr or \\end",r.nextToken)}r.consume()}for(var i,c=[],f=[c],b=0;b-1)){if(!("<>AV".indexOf(N)>-1))throw new j('Expected one of "<>AV=|." after @',A[L]);for(var Z=0;Z<2;Z++){for(var K=!0,oe=L+1;oe=I.SCRIPT.id?t.text():I.DISPLAY:"text"===e&&t.size===I.DISPLAY.size?t=I.TEXT:"script"===e?t=I.SCRIPT:"scriptscript"===e&&(t=I.SCRIPTSCRIPT),t},s0=function(e,r){var t,n=Z0(e.size,r.style),i=n.fracNum(),l=n.fracDen();t=r.havingStyle(i);var c=Te(e.numer,t,r);if(e.continued){var f=8.5/r.fontMetrics().ptPerEm,b=3.5/r.fontMetrics().ptPerEm;c.height=c.height0?3*L:7*L,Z=r.fontMetrics().denom1):(q>0?(N=r.fontMetrics().num2,P=L):(N=r.fontMetrics().num3,P=3*L),Z=r.fontMetrics().denom2),A){var Ne=r.fontMetrics().axisHeight;N-c.depth-(Ne+.5*q)0&&(r="."===(r=e)?null:r),r};ee({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler:function(e,r){var t,n=e.parser,i=r[4],l=r[5],c=Lt(r[0]),f="atom"===c.type&&"open"===c.family?Q0(c.text):null,b=Lt(r[1]),A="atom"===b.type&&"close"===b.family?Q0(b.text):null,q=Ae(r[2],"size"),L=null;t=!!q.isBlank||(L=q.value).number>0;var N="auto",P=r[3];if("ordgroup"===P.type){if(P.body.length>0){var Z=Ae(P.body[0],"textord");N=K0[Number(Z.text)]}}else P=Ae(P,"textord"),N=K0[Number(P.text)];return{type:"genfrac",mode:n.mode,numer:i,denom:l,continued:!1,hasBarLine:t,barSize:L,leftDelim:f,rightDelim:A,size:N}},htmlBuilder:s0,mathmlBuilder:l0}),ee({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,r){var n=e.token;return{type:"infix",mode:e.parser.mode,replaceWith:"\\\\abovefrac",size:Ae(r[0],"size").value,token:n}}}),ee({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(e,r){var t=e.parser,n=r[0],i=function(f){if(!f)throw new Error("Expected non-null, but got "+String(f));return f}(Ae(r[1],"infix").size);return{type:"genfrac",mode:t.mode,numer:n,denom:r[2],continued:!1,hasBarLine:i.number>0,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:s0,mathmlBuilder:l0});var J0=function(e,r){var t,n,i=r.style;"supsub"===e.type?(t=e.sup?Te(e.sup,r.havingStyle(i.sup()),r):Te(e.sub,r.havingStyle(i.sub()),r),n=Ae(e.base,"horizBrace")):n=Ae(e,"horizBrace");var l,c=Te(n.base,r.havingBaseStyle(I.DISPLAY)),f=Er(n,r);if(n.isOver?(l=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.1},{type:"elem",elem:f}]},r)).children[0].children[0].children[1].classes.push("svg-align"):(l=M.makeVList({positionType:"bottom",positionData:c.depth+.1+f.height,children:[{type:"elem",elem:f},{type:"kern",size:.1},{type:"elem",elem:c}]},r)).children[0].children[0].children[0].classes.push("svg-align"),t){var b=M.makeSpan(["mord",n.isOver?"mover":"munder"],[l],r);l=M.makeVList(n.isOver?{positionType:"firstBaseline",children:[{type:"elem",elem:b},{type:"kern",size:.2},{type:"elem",elem:t}]}:{positionType:"bottom",positionData:b.depth+.2+t.height+t.depth,children:[{type:"elem",elem:t},{type:"kern",size:.2},{type:"elem",elem:b}]},r)}return M.makeSpan(["mord",n.isOver?"mover":"munder"],[l],r)};ee({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,r){var n=e.funcName;return{type:"horizBrace",mode:e.parser.mode,label:n,isOver:/^\\over/.test(n),base:r[0]}},htmlBuilder:J0,mathmlBuilder:function(e,r){var t=qr(e.label);return new W.MathNode(e.isOver?"mover":"munder",[Ge(e.base,r),t])}}),ee({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,r){var t=e.parser,n=r[1],i=Ae(r[0],"url").url;return t.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:t.mode,href:i,body:je(n)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,r){var t=ae(e.body,r,!1);return M.makeAnchor(e.href,[],t,r)},mathmlBuilder:function(e,r){var t=pr(e.body,r);return t instanceof $t||(t=new $t("mrow",[t])),t.setAttribute("href",e.href),t}}),ee({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(e,r){var t=e.parser,n=Ae(r[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:n}))return t.formatUnsupportedCmd("\\url");for(var i=[],l=0;l0&&(n=d(e.totalheight,r)-t);var i=0;e.width.number>0&&(i=d(e.width,r));var l={height:w(t+n)};i>0&&(l.width=w(i)),n>0&&(l.verticalAlign=w(-n));var c=new ye(e.src,e.alt,l);return c.height=t,c.depth=n,c},mathmlBuilder:function(e,r){var t=new W.MathNode("mglyph",[]);t.setAttribute("alt",e.alt);var n=d(e.height,r),i=0;if(e.totalheight.number>0&&(i=d(e.totalheight,r)-n,t.setAttribute("valign",w(-i))),t.setAttribute("height",w(n+i)),e.width.number>0){var l=d(e.width,r);t.setAttribute("width",w(l))}return t.setAttribute("src",e.src),t}}),ee({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler:function(e,r){var t=e.parser,n=e.funcName,i=Ae(r[0],"size");if(t.settings.strict){var c="mu"===i.value.unit;"m"===n[1]?(c||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, not "+i.value.unit+" units"),"math"!==t.mode&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):c&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:i.value}},htmlBuilder:function(e,r){return M.makeGlue(e.dimension,r)},mathmlBuilder:function(e,r){var t=d(e.dimension,r);return new W.SpaceNode(t)}}),ee({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,r){var i=r[0];return{type:"lap",mode:e.parser.mode,alignment:e.funcName.slice(5),body:i}},htmlBuilder:function(e,r){var t;"clap"===e.alignment?(t=M.makeSpan([],[Te(e.body,r)]),t=M.makeSpan(["inner"],[t],r)):t=M.makeSpan(["inner"],[Te(e.body,r)]);var n=M.makeSpan(["fix"],[]),i=M.makeSpan([e.alignment],[t,n],r),l=M.makeSpan(["strut"]);return l.style.height=w(i.height+i.depth),i.depth&&(l.style.verticalAlign=w(-i.depth)),i.children.unshift(l),i=M.makeSpan(["thinbox"],[i],r),M.makeSpan(["mord","vbox"],[i],r)},mathmlBuilder:function(e,r){var t=new W.MathNode("mpadded",[Ge(e.body,r)]);return"rlap"!==e.alignment&&t.setAttribute("lspace",("llap"===e.alignment?"-1":"-0.5")+"width"),t.setAttribute("width","0px"),t}}),ee({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,r){var t=e.funcName,n=e.parser,i=n.mode;n.switchMode("math");var l="\\("===t?"\\)":"$",c=n.parseExpression(!1,l);return n.expect(l),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:c}}}),ee({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,r){throw new j("Mismatched "+e.funcName)}});var en=function(e,r){switch(r.style.size){case I.DISPLAY.size:return e.display;case I.TEXT.size:return e.text;case I.SCRIPT.size:return e.script;case I.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ee({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:function(e,r){return{type:"mathchoice",mode:e.parser.mode,display:je(r[0]),text:je(r[1]),script:je(r[2]),scriptscript:je(r[3])}},htmlBuilder:function(e,r){var t=en(e,r),n=ae(t,r,!1);return M.makeFragment(n)},mathmlBuilder:function(e,r){var t=en(e,r);return pr(t,r)}});var tn=function(e,r,t,n,i,l,c){e=M.makeSpan([],[e]);var f,b,A,q=t&&he_isCharacterBox(t);if(r){var L=Te(r,n.havingStyle(i.sup()),n);b={elem:L,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-L.depth)}}if(t){var N=Te(t,n.havingStyle(i.sub()),n);f={elem:N,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-N.height)}}if(b&&f){var P=n.fontMetrics().bigOpSpacing5+f.elem.height+f.elem.depth+f.kern+e.depth+c;A=M.makeVList({positionType:"bottom",positionData:P,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:w(-l)},{type:"kern",size:f.kern},{type:"elem",elem:e},{type:"kern",size:b.kern},{type:"elem",elem:b.elem,marginLeft:w(l)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(f)A=M.makeVList({positionType:"top",positionData:e.height-c,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:w(-l)},{type:"kern",size:f.kern},{type:"elem",elem:e}]},n);else{if(!b)return e;A=M.makeVList({positionType:"bottom",positionData:e.depth+c,children:[{type:"elem",elem:e},{type:"kern",size:b.kern},{type:"elem",elem:b.elem,marginLeft:w(l)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}var oe=[A];if(f&&0!==l&&!q){var de=M.makeSpan(["mspace"],[],n);de.style.marginRight=w(l),oe.unshift(de)}return M.makeSpan(["mop","op-limits"],oe,n)},rn=["\\smallint"],Sr=function(e,r){var t,n,i,l=!1;"supsub"===e.type?(t=e.sup,n=e.sub,i=Ae(e.base,"op"),l=!0):i=Ae(e,"op");var c,f=r.style,b=!1;if(f.size===I.DISPLAY.size&&i.symbol&&!he_contains(rn,i.name)&&(b=!0),i.symbol){var A=b?"Size2-Regular":"Size1-Regular",q="";if("\\oiint"!==i.name&&"\\oiiint"!==i.name||(q=i.name.slice(1),i.name="oiint"===q?"\\iint":"\\iiint"),c=M.makeSymbol(i.name,A,"math",r,["mop","op-symbol",b?"large-op":"small-op"]),q.length>0){var L=c.italic,N=M.staticSvg(q+"Size"+(b?"2":"1"),r);c=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:N,shift:b?.08:0}]},r),i.name="\\"+q,c.classes.unshift("mop"),c.italic=L}}else if(i.body){var P=ae(i.body,r,!0);1===P.length&&P[0]instanceof we?(c=P[0]).classes[0]="mop":c=M.makeSpan(["mop"],P,r)}else{for(var Z=[],K=1;K0){for(var f=i.body.map(function(L){var N=L.text;return"string"==typeof N?{type:"textord",mode:L.mode,text:N}:L}),b=ae(f,r.withFont("mathrm"),!0),A=0;A=0?f.setAttribute("height",w(i)):(f.setAttribute("height",w(i)),f.setAttribute("depth",w(-i))),f.setAttribute("voffset",w(i)),f}});var on=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];ee({type:"sizing",names:on,props:{numArgs:0,allowedInText:!0},handler:function(e,r){var n=e.funcName,i=e.parser,l=i.parseExpression(!1,e.breakOnTokenText);return{type:"sizing",mode:i.mode,size:on.indexOf(n)+1,body:l}},htmlBuilder:function(e,r){var t=r.havingSize(e.size);return an(e.body,t,r)},mathmlBuilder:function(e,r){var t=r.havingSize(e.size),n=Tt(e.body,t),i=new W.MathNode("mstyle",n);return i.setAttribute("mathsize",w(t.sizeMultiplier)),i}}),ee({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,r,t){var n=e.parser,i=!1,l=!1,c=t[0]&&Ae(t[0],"ordgroup");if(c)for(var f="",b=0;bt.height+t.depth+l&&(l=(l+L-t.height-t.depth)/2);var N=b.height-t.height-l-A;t.style.paddingLeft=w(f.advanceWidth);var P=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+N)},{type:"elem",elem:b},{type:"kern",size:A}]},r);if(e.index){var Z=r.havingStyle(I.SCRIPTSCRIPT),K=Te(e.index,Z,r),de=M.makeVList({positionType:"shift",positionData:-.6*(P.height-P.depth),children:[{type:"elem",elem:K}]},r),be=M.makeSpan(["root"],[de]);return M.makeSpan(["mord","sqrt"],[be,P],r)}return M.makeSpan(["mord","sqrt"],[P],r)},mathmlBuilder:function(e,r){var t=e.body,n=e.index;return n?new W.MathNode("mroot",[Ge(t,r),Ge(n,r)]):new W.MathNode("msqrt",[Ge(t,r)])}});var sn={display:I.DISPLAY,text:I.TEXT,script:I.SCRIPT,scriptscript:I.SCRIPTSCRIPT};ee({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e,r){var n=e.funcName,i=e.parser,l=i.parseExpression(!0,e.breakOnTokenText),c=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:c,body:l}},htmlBuilder:function(e,r){var n=r.havingStyle(sn[e.style]).withFont("");return an(e.body,n,r)},mathmlBuilder:function(e,r){var n=r.havingStyle(sn[e.style]),i=Tt(e.body,n),l=new W.MathNode("mstyle",i),c={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return l.setAttribute("scriptlevel",c[0]),l.setAttribute("displaystyle",c[1]),l}}),zt({type:"supsub",htmlBuilder:function(e,r){var t=function(e,r){var t=e.base;return t?"op"===t.type?t.limits&&(r.style.size===I.DISPLAY.size||t.alwaysHandleSupSub)?Sr:null:"operatorname"===t.type?t.alwaysHandleSupSub&&(r.style.size===I.DISPLAY.size||t.limits)?nn:null:"accent"===t.type?he_isCharacterBox(t.base)?Zr:null:"horizBrace"===t.type&&!e.sub===t.isOver?J0:null:null}(e,r);if(t)return t(e,r);var n,i,l,c=e.base,f=e.sup,b=e.sub,A=Te(c,r),q=r.fontMetrics(),L=0,N=0,P=c&&he_isCharacterBox(c);if(f){var Z=r.havingStyle(r.style.sup());n=Te(f,Z,r),P||(L=A.height-Z.fontMetrics().supDrop*Z.sizeMultiplier/r.sizeMultiplier)}if(b){var K=r.havingStyle(r.style.sub());i=Te(b,K,r),P||(N=A.depth+K.fontMetrics().subDrop*K.sizeMultiplier/r.sizeMultiplier)}l=r.style===I.DISPLAY?q.sup1:r.style.cramped?q.sup3:q.sup2;var oe,be=w(.5/q.ptPerEm/r.sizeMultiplier),Me=null;if(i&&(A instanceof we||e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name))&&(Me=w(-A.italic)),n&&i){L=Math.max(L,l,n.depth+.25*q.xHeight),N=Math.max(N,q.sub2);var Ce=4*q.defaultRuleThickness;if(L-n.depth-(i.height-N)0&&(L+=ze,N-=ze)}oe=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:N,marginRight:be,marginLeft:Me},{type:"elem",elem:n,shift:-L,marginRight:be}]},r)}else if(i)N=Math.max(N,q.sub1,i.height-.8*q.xHeight),oe=M.makeVList({positionType:"shift",positionData:N,children:[{type:"elem",elem:i,marginLeft:Me,marginRight:be}]},r);else{if(!n)throw new Error("supsub must have either sup or sub.");L=Math.max(L,l,n.depth+.25*q.xHeight),oe=M.makeVList({positionType:"shift",positionData:-L,children:[{type:"elem",elem:n,marginRight:be}]},r)}var Ke=dt(A,"right")||"mord";return M.makeSpan([Ke],[A,M.makeSpan(["msupsub"],[oe])],r)},mathmlBuilder:function(e,r){var t,n=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(n=!0,t=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var i,l=[Ge(e.base,r)];if(e.sub&&l.push(Ge(e.sub,r)),e.sup&&l.push(Ge(e.sup,r)),n)i=t?"mover":"munder";else if(e.sub)if(e.sup){var c=e.base;i=c&&"op"===c.type&&c.limits&&r.style===I.DISPLAY||c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(r.style===I.DISPLAY||c.limits)?"munderover":"msubsup"}else{var f=e.base;i=f&&"op"===f.type&&f.limits&&(r.style===I.DISPLAY||f.alwaysHandleSupSub)||f&&"operatorname"===f.type&&f.alwaysHandleSupSub&&(f.limits||r.style===I.DISPLAY)?"munder":"msub"}else{var b=e.base;i=b&&"op"===b.type&&b.limits&&(r.style===I.DISPLAY||b.alwaysHandleSupSub)||b&&"operatorname"===b.type&&b.alwaysHandleSupSub&&(b.limits||r.style===I.DISPLAY)?"mover":"msup"}return new W.MathNode(i,l)}}),zt({type:"atom",htmlBuilder:function(e,r){return M.mathsym(e.text,e.mode,r,["m"+e.family])},mathmlBuilder:function(e,r){var t=new W.MathNode("mo",[Gt(e.text,e.mode)]);if("bin"===e.family){var n=Wr(e,r);"bold-italic"===n&&t.setAttribute("mathvariant",n)}else"punct"===e.family?t.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||t.setAttribute("stretchy","false");return t}});var ln={mi:"italic",mn:"normal",mtext:"normal"};zt({type:"mathord",htmlBuilder:function(e,r){return M.makeOrd(e,r,"mathord")},mathmlBuilder:function(e,r){var t=new W.MathNode("mi",[Gt(e.text,e.mode,r)]),n=Wr(e,r)||"italic";return n!==ln[t.type]&&t.setAttribute("mathvariant",n),t}}),zt({type:"textord",htmlBuilder:function(e,r){return M.makeOrd(e,r,"textord")},mathmlBuilder:function(e,r){var t,n=Gt(e.text,e.mode,r),i=Wr(e,r)||"normal";return t="text"===e.mode?new W.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new W.MathNode("mn",[n]):new W.MathNode("\\prime"===e.text?"mo":"mi",[n]),i!==ln[t.type]&&t.setAttribute("mathvariant",i),t}});var c0={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},h0={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};zt({type:"spacing",htmlBuilder:function(e,r){if(h0.hasOwnProperty(e.text)){var t=h0[e.text].className||"";if("text"===e.mode){var n=M.makeOrd(e,r,"textord");return n.classes.push(t),n}return M.makeSpan(["mspace",t],[M.mathsym(e.text,e.mode,r)],r)}if(c0.hasOwnProperty(e.text))return M.makeSpan(["mspace",c0[e.text]],[],r);throw new j('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,r){if(!h0.hasOwnProperty(e.text)){if(c0.hasOwnProperty(e.text))return new W.MathNode("mspace");throw new j('Unknown type of space "'+e.text+'"')}return new W.MathNode("mtext",[new W.TextNode("\xa0")])}});var un=function(){var e=new W.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};zt({type:"tag",mathmlBuilder:function(e,r){var t=new W.MathNode("mtable",[new W.MathNode("mtr",[un(),new W.MathNode("mtd",[pr(e.body,r)]),un(),new W.MathNode("mtd",[pr(e.tag,r)])])]);return t.setAttribute("width","100%"),t}});var cn={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},hn={"\\textbf":"textbf","\\textmd":"textmd"},Xn={"\\textit":"textit","\\textup":"textup"},pn=function(e,r){var t=e.font;return t?cn[t]?r.withTextFontFamily(cn[t]):hn[t]?r.withTextFontWeight(hn[t]):r.withTextFontShape(Xn[t]):r};ee({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler:function(e,r){var n=e.funcName;return{type:"text",mode:e.parser.mode,body:je(r[0]),font:n}},htmlBuilder:function(e,r){var t=pn(e,r),n=ae(e.body,t,!0);return M.makeSpan(["mord","text"],n,t)},mathmlBuilder:function(e,r){var t=pn(e,r);return pr(e.body,t)}}),ee({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,r){return{type:"underline",mode:e.parser.mode,body:r[0]}},htmlBuilder:function(e,r){var t=Te(e.body,r),n=M.makeLineSpan("underline-line",r),i=r.fontMetrics().defaultRuleThickness,l=M.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:t}]},r);return M.makeSpan(["mord","underline"],[l],r)},mathmlBuilder:function(e,r){var t=new W.MathNode("mo",[new W.TextNode("\u203e")]);t.setAttribute("stretchy","true");var n=new W.MathNode("munder",[Ge(e.body,r),t]);return n.setAttribute("accentunder","true"),n}}),ee({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:function(e,r){return{type:"vcenter",mode:e.parser.mode,body:r[0]}},htmlBuilder:function(e,r){var t=Te(e.body,r),n=r.fontMetrics().axisHeight;return M.makeVList({positionType:"shift",positionData:.5*(t.height-n-(t.depth+n)),children:[{type:"elem",elem:t}]},r)},mathmlBuilder:function(e,r){return new W.MathNode("mpadded",[Ge(e.body,r)],["vcenter"])}}),ee({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,r,t){throw new j("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,r){for(var t=mn(e),n=[],i=r.havingStyle(r.style.text()),l=0;l0;)this.endGroup()},r.has=function(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)},r.get=function(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]},r.set=function(t,n,i){if(void 0===i&&(i=!1),i){for(var l=0;l0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var c=this.undefStack[this.undefStack.length-1];c&&!c.hasOwnProperty(t)&&(c[t]=this.current[t])}null==n?delete this.current[t]:this.current[t]=n},e}(),Qn=V0;m("\\noexpand",function(e){var r=e.popToken();return e.isExpandable(r.text)&&(r.noexpand=!0,r.treatAsRelax=!0),{tokens:[r],numArgs:0}}),m("\\expandafter",function(e){var r=e.popToken();return e.expandOnce(!0),{tokens:[r],numArgs:0}}),m("\\@firstoftwo",function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),m("\\@secondoftwo",function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),m("\\@ifnextchar",function(e){var r=e.consumeArgs(3);e.consumeSpaces();var t=e.future();return 1===r[0].length&&r[0][0].text===t.text?{tokens:r[1],numArgs:0}:{tokens:r[2],numArgs:0}}),m("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),m("\\TextOrMath",function(e){var r=e.consumeArgs(2);return"text"===e.mode?{tokens:r[0],numArgs:0}:{tokens:r[1],numArgs:0}});var gn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};m("\\char",function(e){var r,t=e.popToken(),n="";if("'"===t.text)r=8,t=e.popToken();else if('"'===t.text)r=16,t=e.popToken();else if("`"===t.text)if("\\"===(t=e.popToken()).text[0])n=t.text.charCodeAt(1);else{if("EOF"===t.text)throw new j("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(null==(n=gn[t.text])||n>=r)throw new j("Invalid base-"+r+" digit "+t.text);for(var i;null!=(i=gn[e.future().text])&&i":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};m("\\dots",function(e){var r="\\dotso",t=e.expandAfterFuture().text;return t in bn?r=bn[t]:("\\not"===t.slice(0,4)||t in qe.math&&he_contains(["bin","rel"],qe.math[t].group))&&(r="\\dotsb"),r});var d0={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};m("\\dotso",function(e){return e.future().text in d0?"\\ldots\\,":"\\ldots"}),m("\\dotsc",function(e){var r=e.future().text;return r in d0&&","!==r?"\\ldots\\,":"\\ldots"}),m("\\cdots",function(e){return e.future().text in d0?"\\@cdots\\,":"\\@cdots"}),m("\\dotsb","\\cdots"),m("\\dotsm","\\cdots"),m("\\dotsi","\\!\\cdots"),m("\\dotsx","\\ldots\\,"),m("\\DOTSI","\\relax"),m("\\DOTSB","\\relax"),m("\\DOTSX","\\relax"),m("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),m("\\,","\\tmspace+{3mu}{.1667em}"),m("\\thinspace","\\,"),m("\\>","\\mskip{4mu}"),m("\\:","\\tmspace+{4mu}{.2222em}"),m("\\medspace","\\:"),m("\\;","\\tmspace+{5mu}{.2777em}"),m("\\thickspace","\\;"),m("\\!","\\tmspace-{3mu}{.1667em}"),m("\\negthinspace","\\!"),m("\\negmedspace","\\tmspace-{4mu}{.2222em}"),m("\\negthickspace","\\tmspace-{5mu}{.277em}"),m("\\enspace","\\kern.5em "),m("\\enskip","\\hskip.5em\\relax"),m("\\quad","\\hskip1em\\relax"),m("\\qquad","\\hskip2em\\relax"),m("\\tag","\\@ifstar\\tag@literal\\tag@paren"),m("\\tag@paren","\\tag@literal{({#1})}"),m("\\tag@literal",function(e){if(e.macros.get("\\df@tag"))throw new j("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),m("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),m("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),m("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),m("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),m("\\newline","\\\\\\relax"),m("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var vn=w(pe["Main-Regular"][84][1]-.7*pe["Main-Regular"][65][1]);m("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+vn+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),m("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+vn+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),m("\\hspace","\\@ifstar\\@hspacer\\@hspace"),m("\\@hspace","\\hskip #1\\relax"),m("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),m("\\ordinarycolon",":"),m("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),m("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),m("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),m("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),m("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),m("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),m("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),m("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),m("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),m("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),m("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),m("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),m("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),m("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),m("\u2237","\\dblcolon"),m("\u2239","\\eqcolon"),m("\u2254","\\coloneqq"),m("\u2255","\\eqqcolon"),m("\u2a74","\\Coloneqq"),m("\\ratio","\\vcentcolon"),m("\\coloncolon","\\dblcolon"),m("\\colonequals","\\coloneqq"),m("\\coloncolonequals","\\Coloneqq"),m("\\equalscolon","\\eqqcolon"),m("\\equalscoloncolon","\\Eqqcolon"),m("\\colonminus","\\coloneq"),m("\\coloncolonminus","\\Coloneq"),m("\\minuscolon","\\eqcolon"),m("\\minuscoloncolon","\\Eqcolon"),m("\\coloncolonapprox","\\Colonapprox"),m("\\coloncolonsim","\\Colonsim"),m("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),m("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),m("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),m("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),m("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220c}}"),m("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),m("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),m("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),m("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),m("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),m("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),m("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),m("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),m("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),m("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),m("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),m("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),m("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),m("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),m("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),m("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),m("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),m("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),m("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228a}"),m("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2acb}"),m("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228b}"),m("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2acc}"),m("\\imath","\\html@mathml{\\@imath}{\u0131}"),m("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),m("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27e6}}"),m("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27e7}}"),m("\u27e6","\\llbracket"),m("\u27e7","\\rrbracket"),m("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),m("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),m("\u2983","\\lBrace"),m("\u2984","\\rBrace"),m("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29b5}}"),m("\u29b5","\\minuso"),m("\\darr","\\downarrow"),m("\\dArr","\\Downarrow"),m("\\Darr","\\Downarrow"),m("\\lang","\\langle"),m("\\rang","\\rangle"),m("\\uarr","\\uparrow"),m("\\uArr","\\Uparrow"),m("\\Uarr","\\Uparrow"),m("\\N","\\mathbb{N}"),m("\\R","\\mathbb{R}"),m("\\Z","\\mathbb{Z}"),m("\\alef","\\aleph"),m("\\alefsym","\\aleph"),m("\\Alpha","\\mathrm{A}"),m("\\Beta","\\mathrm{B}"),m("\\bull","\\bullet"),m("\\Chi","\\mathrm{X}"),m("\\clubs","\\clubsuit"),m("\\cnums","\\mathbb{C}"),m("\\Complex","\\mathbb{C}"),m("\\Dagger","\\ddagger"),m("\\diamonds","\\diamondsuit"),m("\\empty","\\emptyset"),m("\\Epsilon","\\mathrm{E}"),m("\\Eta","\\mathrm{H}"),m("\\exist","\\exists"),m("\\harr","\\leftrightarrow"),m("\\hArr","\\Leftrightarrow"),m("\\Harr","\\Leftrightarrow"),m("\\hearts","\\heartsuit"),m("\\image","\\Im"),m("\\infin","\\infty"),m("\\Iota","\\mathrm{I}"),m("\\isin","\\in"),m("\\Kappa","\\mathrm{K}"),m("\\larr","\\leftarrow"),m("\\lArr","\\Leftarrow"),m("\\Larr","\\Leftarrow"),m("\\lrarr","\\leftrightarrow"),m("\\lrArr","\\Leftrightarrow"),m("\\Lrarr","\\Leftrightarrow"),m("\\Mu","\\mathrm{M}"),m("\\natnums","\\mathbb{N}"),m("\\Nu","\\mathrm{N}"),m("\\Omicron","\\mathrm{O}"),m("\\plusmn","\\pm"),m("\\rarr","\\rightarrow"),m("\\rArr","\\Rightarrow"),m("\\Rarr","\\Rightarrow"),m("\\real","\\Re"),m("\\reals","\\mathbb{R}"),m("\\Reals","\\mathbb{R}"),m("\\Rho","\\mathrm{P}"),m("\\sdot","\\cdot"),m("\\sect","\\S"),m("\\spades","\\spadesuit"),m("\\sub","\\subset"),m("\\sube","\\subseteq"),m("\\supe","\\supseteq"),m("\\Tau","\\mathrm{T}"),m("\\thetasym","\\vartheta"),m("\\weierp","\\wp"),m("\\Zeta","\\mathrm{Z}"),m("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),m("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),m("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),m("\\bra","\\mathinner{\\langle{#1}|}"),m("\\ket","\\mathinner{|{#1}\\rangle}"),m("\\braket","\\mathinner{\\langle{#1}\\rangle}"),m("\\Bra","\\left\\langle#1\\right|"),m("\\Ket","\\left|#1\\right\\rangle");var yn=function(e){return function(r){var t=r.consumeArg().tokens,n=r.consumeArg().tokens,i=r.consumeArg().tokens,l=r.consumeArg().tokens,c=r.macros.get("|"),f=r.macros.get("\\|");r.macros.beginGroup();var b=function(L){return function(N){e&&(N.macros.set("|",c),i.length&&N.macros.set("\\|",f));var P=L;return!L&&i.length&&"|"===N.future().text&&(N.popToken(),P=!0),{tokens:P?i:n,numArgs:0}}};r.macros.set("|",b(!1)),i.length&&r.macros.set("\\|",b(!0));var A=r.consumeArg().tokens,q=r.expandTokens([].concat(l,A,t));return r.macros.endGroup(),{tokens:q.reverse(),numArgs:0}}};m("\\bra@ket",yn(!1)),m("\\bra@set",yn(!0)),m("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),m("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),m("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),m("\\angln","{\\angl n}"),m("\\blue","\\textcolor{##6495ed}{#1}"),m("\\orange","\\textcolor{##ffa500}{#1}"),m("\\pink","\\textcolor{##ff00af}{#1}"),m("\\red","\\textcolor{##df0030}{#1}"),m("\\green","\\textcolor{##28ae7b}{#1}"),m("\\gray","\\textcolor{gray}{#1}"),m("\\purple","\\textcolor{##9d38bd}{#1}"),m("\\blueA","\\textcolor{##ccfaff}{#1}"),m("\\blueB","\\textcolor{##80f6ff}{#1}"),m("\\blueC","\\textcolor{##63d9ea}{#1}"),m("\\blueD","\\textcolor{##11accd}{#1}"),m("\\blueE","\\textcolor{##0c7f99}{#1}"),m("\\tealA","\\textcolor{##94fff5}{#1}"),m("\\tealB","\\textcolor{##26edd5}{#1}"),m("\\tealC","\\textcolor{##01d1c1}{#1}"),m("\\tealD","\\textcolor{##01a995}{#1}"),m("\\tealE","\\textcolor{##208170}{#1}"),m("\\greenA","\\textcolor{##b6ffb0}{#1}"),m("\\greenB","\\textcolor{##8af281}{#1}"),m("\\greenC","\\textcolor{##74cf70}{#1}"),m("\\greenD","\\textcolor{##1fab54}{#1}"),m("\\greenE","\\textcolor{##0d923f}{#1}"),m("\\goldA","\\textcolor{##ffd0a9}{#1}"),m("\\goldB","\\textcolor{##ffbb71}{#1}"),m("\\goldC","\\textcolor{##ff9c39}{#1}"),m("\\goldD","\\textcolor{##e07d10}{#1}"),m("\\goldE","\\textcolor{##a75a05}{#1}"),m("\\redA","\\textcolor{##fca9a9}{#1}"),m("\\redB","\\textcolor{##ff8482}{#1}"),m("\\redC","\\textcolor{##f9685d}{#1}"),m("\\redD","\\textcolor{##e84d39}{#1}"),m("\\redE","\\textcolor{##bc2612}{#1}"),m("\\maroonA","\\textcolor{##ffbde0}{#1}"),m("\\maroonB","\\textcolor{##ff92c6}{#1}"),m("\\maroonC","\\textcolor{##ed5fa6}{#1}"),m("\\maroonD","\\textcolor{##ca337c}{#1}"),m("\\maroonE","\\textcolor{##9e034e}{#1}"),m("\\purpleA","\\textcolor{##ddd7ff}{#1}"),m("\\purpleB","\\textcolor{##c6b9fc}{#1}"),m("\\purpleC","\\textcolor{##aa87ff}{#1}"),m("\\purpleD","\\textcolor{##7854ab}{#1}"),m("\\purpleE","\\textcolor{##543b78}{#1}"),m("\\mintA","\\textcolor{##f5f9e8}{#1}"),m("\\mintB","\\textcolor{##edf2df}{#1}"),m("\\mintC","\\textcolor{##e0e5cc}{#1}"),m("\\grayA","\\textcolor{##f6f7f7}{#1}"),m("\\grayB","\\textcolor{##f0f1f2}{#1}"),m("\\grayC","\\textcolor{##e3e5e6}{#1}"),m("\\grayD","\\textcolor{##d6d8da}{#1}"),m("\\grayE","\\textcolor{##babec2}{#1}"),m("\\grayF","\\textcolor{##888d93}{#1}"),m("\\grayG","\\textcolor{##626569}{#1}"),m("\\grayH","\\textcolor{##3b3e40}{#1}"),m("\\grayI","\\textcolor{##21242c}{#1}"),m("\\kaBlue","\\textcolor{##314453}{#1}"),m("\\kaGreen","\\textcolor{##71B307}{#1}");var xn={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Jn=function(){function e(t,n,i){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(t),this.macros=new Kn(Qn,n.macros),this.mode=i,this.stack=[]}var r=e.prototype;return r.feed=function(t){this.lexer=new fn(t,this.settings)},r.switchMode=function(t){this.mode=t},r.beginGroup=function(){this.macros.beginGroup()},r.endGroup=function(){this.macros.endGroup()},r.endGroups=function(){this.macros.endGroups()},r.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},r.popToken=function(){return this.future(),this.stack.pop()},r.pushToken=function(t){this.stack.push(t)},r.pushTokens=function(t){var n;(n=this.stack).push.apply(n,t)},r.scanArgument=function(t){var n,i,l;if(t){if(this.consumeSpaces(),"["!==this.future().text)return null;n=this.popToken();var c=this.consumeArg(["]"]);l=c.tokens,i=c.end}else{var f=this.consumeArg();l=f.tokens,n=f.start,i=f.end}return this.pushToken(new mr("EOF",i.loc)),this.pushTokens(l),n.range(i,"")},r.consumeSpaces=function(){for(;" "===this.future().text;)this.stack.pop()},r.consumeArg=function(t){var n=[],i=t&&t.length>0;i||this.consumeSpaces();var l,c=this.future(),f=0,b=0;do{if(l=this.popToken(),n.push(l),"{"===l.text)++f;else if("}"===l.text){if(-1==--f)throw new j("Extra }",l)}else if("EOF"===l.text)throw new j("Unexpected end of input in a macro argument, expected '"+(t&&i?t[b]:"}")+"'",l);if(t&&i)if((0===f||1===f&&"{"===t[b])&&l.text===t[b]){if(++b===t.length){n.splice(-b,b);break}}else b=0}while(0!==f||i);return"{"===c.text&&"}"===n[n.length-1].text&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:c,end:l}},r.consumeArgs=function(t,n){if(n){if(n.length!==t+1)throw new j("The length of delimiters doesn't match the number of args!");for(var i=n[0],l=0;lthis.settings.maxExpand)throw new j("Too many expansions: infinite loop or need to increase maxExpand setting");var c=l.tokens,f=this.consumeArgs(l.numArgs,l.delimiters);if(l.numArgs)for(var b=(c=c.slice()).length-1;b>=0;--b){var A=c[b];if("#"===A.text){if(0===b)throw new j("Incomplete placeholder at end of macro body",A);if("#"===(A=c[--b]).text)c.splice(b+1,1);else{if(!/^[1-9]$/.test(A.text))throw new j("Not a valid argument number",A);var q;(q=c).splice.apply(q,[b,2].concat(f[+A.text-1]))}}}return this.pushTokens(c),c.length},r.expandAfterFuture=function(){return this.expandOnce(),this.future()},r.expandNextToken=function(){for(;;)if(!1===this.expandOnce()){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error},r.expandMacro=function(t){return this.macros.has(t)?this.expandTokens([new mr(t)]):void 0},r.expandTokens=function(t){var n=[],i=this.stack.length;for(this.pushTokens(t);this.stack.length>i;)if(!1===this.expandOnce(!0)){var l=this.stack.pop();l.treatAsRelax&&(l.noexpand=!1,l.treatAsRelax=!1),n.push(l)}return n},r.expandMacroAsText=function(t){var n=this.expandMacro(t);return n&&n.map(function(i){return i.text}).join("")},r._getExpansion=function(t){var n=this.macros.get(t);if(null==n)return n;if(1===t.length){var i=this.lexer.catcodes[t];if(null!=i&&13!==i)return}var l="function"==typeof n?n(this):n;if("string"==typeof l){var c=0;if(-1!==l.indexOf("#"))for(var f=l.replace(/##/g,"");-1!==f.indexOf("#"+(c+1));)++c;for(var b=new fn(l,this.settings),A=[],q=b.lex();"EOF"!==q.text;)A.push(q),q=b.lex();return A.reverse(),{tokens:A,numArgs:c}}return l},r.isDefined=function(t){return this.macros.has(t)||fr.hasOwnProperty(t)||qe.math.hasOwnProperty(t)||qe.text.hasOwnProperty(t)||xn.hasOwnProperty(t)},r.isExpandable=function(t){var n=this.macros.get(t);return null!=n?"string"==typeof n||"function"==typeof n||!n.unexpandable:fr.hasOwnProperty(t)&&!fr[t].primitive},e}(),wn=/^[\u208a\u208b\u208c\u208d\u208e\u2080\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089\u2090\u2091\u2095\u1d62\u2c7c\u2096\u2097\u2098\u2099\u2092\u209a\u1d63\u209b\u209c\u1d64\u1d65\u2093\u1d66\u1d67\u1d68\u1d69\u1d6a]/,jr=Object.freeze({"\u208a":"+","\u208b":"-","\u208c":"=","\u208d":"(","\u208e":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9",\u2090:"a",\u2091:"e",\u2095:"h",\u1d62:"i",\u2c7c:"j",\u2096:"k",\u2097:"l",\u2098:"m",\u2099:"n",\u2092:"o",\u209a:"p",\u1d63:"r",\u209b:"s",\u209c:"t",\u1d64:"u",\u1d65:"v",\u2093:"x",\u1d66:"\u03b2",\u1d67:"\u03b3",\u1d68:"\u03c1",\u1d69:"\u03d5",\u1d6a:"\u03c7","\u207a":"+","\u207b":"-","\u207c":"=","\u207d":"(","\u207e":")","\u2070":"0","\xb9":"1","\xb2":"2","\xb3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9",\u1d2c:"A",\u1d2e:"B",\u1d30:"D",\u1d31:"E",\u1d33:"G",\u1d34:"H",\u1d35:"I",\u1d36:"J",\u1d37:"K",\u1d38:"L",\u1d39:"M",\u1d3a:"N",\u1d3c:"O",\u1d3e:"P",\u1d3f:"R",\u1d40:"T",\u1d41:"U",\u2c7d:"V",\u1d42:"W",\u1d43:"a",\u1d47:"b",\u1d9c:"c",\u1d48:"d",\u1d49:"e",\u1da0:"f",\u1d4d:"g",\u02b0:"h",\u2071:"i",\u02b2:"j",\u1d4f:"k",\u02e1:"l",\u1d50:"m",\u207f:"n",\u1d52:"o",\u1d56:"p",\u02b3:"r",\u02e2:"s",\u1d57:"t",\u1d58:"u",\u1d5b:"v",\u02b7:"w",\u02e3:"x",\u02b8:"y",\u1dbb:"z",\u1d5d:"\u03b2",\u1d5e:"\u03b3",\u1d5f:"\u03b4",\u1d60:"\u03d5",\u1d61:"\u03c7",\u1dbf:"\u03b8"}),f0={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"},"\u0327":{text:"\\c"}},kn={\u00e1:"a\u0301",\u00e0:"a\u0300",\u00e4:"a\u0308",\u01df:"a\u0308\u0304",\u00e3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1eaf:"a\u0306\u0301",\u1eb1:"a\u0306\u0300",\u1eb5:"a\u0306\u0303",\u01ce:"a\u030c",\u00e2:"a\u0302",\u1ea5:"a\u0302\u0301",\u1ea7:"a\u0302\u0300",\u1eab:"a\u0302\u0303",\u0227:"a\u0307",\u01e1:"a\u0307\u0304",\u00e5:"a\u030a",\u01fb:"a\u030a\u0301",\u1e03:"b\u0307",\u0107:"c\u0301",\u1e09:"c\u0327\u0301",\u010d:"c\u030c",\u0109:"c\u0302",\u010b:"c\u0307",\u00e7:"c\u0327",\u010f:"d\u030c",\u1e0b:"d\u0307",\u1e11:"d\u0327",\u00e9:"e\u0301",\u00e8:"e\u0300",\u00eb:"e\u0308",\u1ebd:"e\u0303",\u0113:"e\u0304",\u1e17:"e\u0304\u0301",\u1e15:"e\u0304\u0300",\u0115:"e\u0306",\u1e1d:"e\u0327\u0306",\u011b:"e\u030c",\u00ea:"e\u0302",\u1ebf:"e\u0302\u0301",\u1ec1:"e\u0302\u0300",\u1ec5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1e1f:"f\u0307",\u01f5:"g\u0301",\u1e21:"g\u0304",\u011f:"g\u0306",\u01e7:"g\u030c",\u011d:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1e27:"h\u0308",\u021f:"h\u030c",\u0125:"h\u0302",\u1e23:"h\u0307",\u1e29:"h\u0327",\u00ed:"i\u0301",\u00ec:"i\u0300",\u00ef:"i\u0308",\u1e2f:"i\u0308\u0301",\u0129:"i\u0303",\u012b:"i\u0304",\u012d:"i\u0306",\u01d0:"i\u030c",\u00ee:"i\u0302",\u01f0:"j\u030c",\u0135:"j\u0302",\u1e31:"k\u0301",\u01e9:"k\u030c",\u0137:"k\u0327",\u013a:"l\u0301",\u013e:"l\u030c",\u013c:"l\u0327",\u1e3f:"m\u0301",\u1e41:"m\u0307",\u0144:"n\u0301",\u01f9:"n\u0300",\u00f1:"n\u0303",\u0148:"n\u030c",\u1e45:"n\u0307",\u0146:"n\u0327",\u00f3:"o\u0301",\u00f2:"o\u0300",\u00f6:"o\u0308",\u022b:"o\u0308\u0304",\u00f5:"o\u0303",\u1e4d:"o\u0303\u0301",\u1e4f:"o\u0303\u0308",\u022d:"o\u0303\u0304",\u014d:"o\u0304",\u1e53:"o\u0304\u0301",\u1e51:"o\u0304\u0300",\u014f:"o\u0306",\u01d2:"o\u030c",\u00f4:"o\u0302",\u1ed1:"o\u0302\u0301",\u1ed3:"o\u0302\u0300",\u1ed7:"o\u0302\u0303",\u022f:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030b",\u1e55:"p\u0301",\u1e57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030c",\u1e59:"r\u0307",\u0157:"r\u0327",\u015b:"s\u0301",\u1e65:"s\u0301\u0307",\u0161:"s\u030c",\u1e67:"s\u030c\u0307",\u015d:"s\u0302",\u1e61:"s\u0307",\u015f:"s\u0327",\u1e97:"t\u0308",\u0165:"t\u030c",\u1e6b:"t\u0307",\u0163:"t\u0327",\u00fa:"u\u0301",\u00f9:"u\u0300",\u00fc:"u\u0308",\u01d8:"u\u0308\u0301",\u01dc:"u\u0308\u0300",\u01d6:"u\u0308\u0304",\u01da:"u\u0308\u030c",\u0169:"u\u0303",\u1e79:"u\u0303\u0301",\u016b:"u\u0304",\u1e7b:"u\u0304\u0308",\u016d:"u\u0306",\u01d4:"u\u030c",\u00fb:"u\u0302",\u016f:"u\u030a",\u0171:"u\u030b",\u1e7d:"v\u0303",\u1e83:"w\u0301",\u1e81:"w\u0300",\u1e85:"w\u0308",\u0175:"w\u0302",\u1e87:"w\u0307",\u1e98:"w\u030a",\u1e8d:"x\u0308",\u1e8b:"x\u0307",\u00fd:"y\u0301",\u1ef3:"y\u0300",\u00ff:"y\u0308",\u1ef9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1e8f:"y\u0307",\u1e99:"y\u030a",\u017a:"z\u0301",\u017e:"z\u030c",\u1e91:"z\u0302",\u017c:"z\u0307",\u00c1:"A\u0301",\u00c0:"A\u0300",\u00c4:"A\u0308",\u01de:"A\u0308\u0304",\u00c3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1eae:"A\u0306\u0301",\u1eb0:"A\u0306\u0300",\u1eb4:"A\u0306\u0303",\u01cd:"A\u030c",\u00c2:"A\u0302",\u1ea4:"A\u0302\u0301",\u1ea6:"A\u0302\u0300",\u1eaa:"A\u0302\u0303",\u0226:"A\u0307",\u01e0:"A\u0307\u0304",\u00c5:"A\u030a",\u01fa:"A\u030a\u0301",\u1e02:"B\u0307",\u0106:"C\u0301",\u1e08:"C\u0327\u0301",\u010c:"C\u030c",\u0108:"C\u0302",\u010a:"C\u0307",\u00c7:"C\u0327",\u010e:"D\u030c",\u1e0a:"D\u0307",\u1e10:"D\u0327",\u00c9:"E\u0301",\u00c8:"E\u0300",\u00cb:"E\u0308",\u1ebc:"E\u0303",\u0112:"E\u0304",\u1e16:"E\u0304\u0301",\u1e14:"E\u0304\u0300",\u0114:"E\u0306",\u1e1c:"E\u0327\u0306",\u011a:"E\u030c",\u00ca:"E\u0302",\u1ebe:"E\u0302\u0301",\u1ec0:"E\u0302\u0300",\u1ec4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1e1e:"F\u0307",\u01f4:"G\u0301",\u1e20:"G\u0304",\u011e:"G\u0306",\u01e6:"G\u030c",\u011c:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1e26:"H\u0308",\u021e:"H\u030c",\u0124:"H\u0302",\u1e22:"H\u0307",\u1e28:"H\u0327",\u00cd:"I\u0301",\u00cc:"I\u0300",\u00cf:"I\u0308",\u1e2e:"I\u0308\u0301",\u0128:"I\u0303",\u012a:"I\u0304",\u012c:"I\u0306",\u01cf:"I\u030c",\u00ce:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1e30:"K\u0301",\u01e8:"K\u030c",\u0136:"K\u0327",\u0139:"L\u0301",\u013d:"L\u030c",\u013b:"L\u0327",\u1e3e:"M\u0301",\u1e40:"M\u0307",\u0143:"N\u0301",\u01f8:"N\u0300",\u00d1:"N\u0303",\u0147:"N\u030c",\u1e44:"N\u0307",\u0145:"N\u0327",\u00d3:"O\u0301",\u00d2:"O\u0300",\u00d6:"O\u0308",\u022a:"O\u0308\u0304",\u00d5:"O\u0303",\u1e4c:"O\u0303\u0301",\u1e4e:"O\u0303\u0308",\u022c:"O\u0303\u0304",\u014c:"O\u0304",\u1e52:"O\u0304\u0301",\u1e50:"O\u0304\u0300",\u014e:"O\u0306",\u01d1:"O\u030c",\u00d4:"O\u0302",\u1ed0:"O\u0302\u0301",\u1ed2:"O\u0302\u0300",\u1ed6:"O\u0302\u0303",\u022e:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030b",\u1e54:"P\u0301",\u1e56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030c",\u1e58:"R\u0307",\u0156:"R\u0327",\u015a:"S\u0301",\u1e64:"S\u0301\u0307",\u0160:"S\u030c",\u1e66:"S\u030c\u0307",\u015c:"S\u0302",\u1e60:"S\u0307",\u015e:"S\u0327",\u0164:"T\u030c",\u1e6a:"T\u0307",\u0162:"T\u0327",\u00da:"U\u0301",\u00d9:"U\u0300",\u00dc:"U\u0308",\u01d7:"U\u0308\u0301",\u01db:"U\u0308\u0300",\u01d5:"U\u0308\u0304",\u01d9:"U\u0308\u030c",\u0168:"U\u0303",\u1e78:"U\u0303\u0301",\u016a:"U\u0304",\u1e7a:"U\u0304\u0308",\u016c:"U\u0306",\u01d3:"U\u030c",\u00db:"U\u0302",\u016e:"U\u030a",\u0170:"U\u030b",\u1e7c:"V\u0303",\u1e82:"W\u0301",\u1e80:"W\u0300",\u1e84:"W\u0308",\u0174:"W\u0302",\u1e86:"W\u0307",\u1e8c:"X\u0308",\u1e8a:"X\u0307",\u00dd:"Y\u0301",\u1ef2:"Y\u0300",\u0178:"Y\u0308",\u1ef8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1e8e:"Y\u0307",\u0179:"Z\u0301",\u017d:"Z\u030c",\u1e90:"Z\u0302",\u017b:"Z\u0307",\u03ac:"\u03b1\u0301",\u1f70:"\u03b1\u0300",\u1fb1:"\u03b1\u0304",\u1fb0:"\u03b1\u0306",\u03ad:"\u03b5\u0301",\u1f72:"\u03b5\u0300",\u03ae:"\u03b7\u0301",\u1f74:"\u03b7\u0300",\u03af:"\u03b9\u0301",\u1f76:"\u03b9\u0300",\u03ca:"\u03b9\u0308",\u0390:"\u03b9\u0308\u0301",\u1fd2:"\u03b9\u0308\u0300",\u1fd1:"\u03b9\u0304",\u1fd0:"\u03b9\u0306",\u03cc:"\u03bf\u0301",\u1f78:"\u03bf\u0300",\u03cd:"\u03c5\u0301",\u1f7a:"\u03c5\u0300",\u03cb:"\u03c5\u0308",\u03b0:"\u03c5\u0308\u0301",\u1fe2:"\u03c5\u0308\u0300",\u1fe1:"\u03c5\u0304",\u1fe0:"\u03c5\u0306",\u03ce:"\u03c9\u0301",\u1f7c:"\u03c9\u0300",\u038e:"\u03a5\u0301",\u1fea:"\u03a5\u0300",\u03ab:"\u03a5\u0308",\u1fe9:"\u03a5\u0304",\u1fe8:"\u03a5\u0306",\u038f:"\u03a9\u0301",\u1ffa:"\u03a9\u0300"},Sn=function(){function e(t,n){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Jn(t,n,this.mode),this.settings=n,this.leftrightDepth=0}var r=e.prototype;return r.expect=function(t,n){if(void 0===n&&(n=!0),this.fetch().text!==t)throw new j("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()},r.consume=function(){this.nextToken=null},r.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},r.switchMode=function(t){this.mode=t,this.gullet.switchMode(t)},r.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}},r.subparse=function(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new mr("}")),this.gullet.pushTokens(t);var i=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,i},r.parseExpression=function(t,n){for(var i=[];;){"math"===this.mode&&this.consumeSpaces();var l=this.fetch();if(-1!==e.endOfExpression.indexOf(l.text)||n&&l.text===n||t&&fr[l.text]&&fr[l.text].infix)break;var c=this.parseAtom(n);if(!c)break;"internal"!==c.type&&i.push(c)}return"text"===this.mode&&this.formLigatures(i),this.handleInfixNodes(i)},r.handleInfixNodes=function(t){for(var n,i=-1,l=0;l=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var A=qe[this.mode][n].group,q=Zt.range(t);c=Bt.hasOwnProperty(A)?{type:"atom",mode:this.mode,family:A,loc:q,text:n}:{type:A,mode:this.mode,loc:q,text:n}}else{if(!(n.charCodeAt(0)>=128))return null;this.settings.strict&&(Nt(n.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'" ('+n.charCodeAt(0)+")",t)),c={type:"textord",mode:"text",loc:Zt.range(t),text:n}}if(this.consume(),f)for(var N=0;N